25 Oct
2001
25 Oct
'01
5:09 p.m.
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")