Hi all
I have written some code to alow a user to change his password (below)

The problem is that after executing this code  the login dialog pops up.

The login requires the user to enter his NEW password.


container.REQUEST.set('roles',request.AUTHENTICATED_USER.getRoles())
container.REQUEST.set('domains',request.AUTHENTICATED_USER.getDomains())
container.REQUEST.set('name',request.AUTHENTICATED_USER.getUserName())
container.REQUEST.set('password',request['new_password'])
container.REQUEST.set('confirm',request['new_password_confirm'])
context.acl_users.manage_users('Change',container.REQUEST)
context.REQUEST.RESPONSE.redirect("changepwd?status=ok")

_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to