IIRC CookieCrumbler just stores the username:password on the __ac
cookie. You probably need to force it to set another cookie when you
change the password, or move to a different implementation like
plone.session that uses signed cookies and avoids the requirement to
store the password on a
Hi,
what I do:
req=context.REQUEST
context.acl_users.manage_users('Change', {'name':req['name'],
'password':req['pswd'], 'confirm':req['cpswd'], 'roles': req
['roles'], 'domains':''})
On Oct 6, 2008, at 3:48 AM, Thibaud Morel l'Horset wrote:
Hello all,
I'm trying to write a piece of
(Sun, Oct 05, 2008 at 09:48:20PM -0400) Thibaud Morel l'Horset
wrote/schrieb/egrapse:
I'm trying to write a piece of code that just changes the password of a
user as they are logged in. This is in a Script(Python). I'm using PAS and
CookieCrumbler and the code is as follows:
Laurence Rowe wrote at 2008-10-6 09:52 -0400:
IIRC CookieCrumbler just stores the username:password on the __ac
cookie. You probably need to force it to set another cookie when you
change the password, or move to a different implementation like
plone.session that uses signed cookies and avoids
Hello all,
I'm trying to write a piece of code that just changes the password of a
user as they are logged in. This is in a Script(Python). I'm using PAS and
CookieCrumbler and the code is as follows:
container.acl_users.users.manage_updateUserPassword(user['id'],password,password)
This does