Problem with programmatically adding users to acl_users
Hi, I've just created a little dtml script to carry out user registratin... when a user fills in the form he should be added as a site user and thus added to acl_users. The structure I got is the following /Zope Root Folder / Parent Folder / acl_users / Registration folder - registerForm.html - registerAction.dtml The dtml method is one I've found listed on loads of sites .... <h2>User Registration</h2> <dtml-call "REQUEST.set('username', '<username>')"> <dtml-call "REQUEST.set('password', '<password>')"> <dtml-call "REQUEST.set('confirm', '<confirm>')"> <dtml-call "REQUEST.set('roles', ['Member'])"> <dtml-call "REQUEST.set('domains', ['Domain1'])"> <dtml-call "REQUEST.set('submit', 'Add')"> <dtml-call "acl_users.manage_users(submit='Add', REQUEST=REQUEST)"> I'm getting no errors reported but also I'm getting no user created in the folder... what's going wrong? Ruth
participants (1)
-
Ruth Mizzi