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
Summary of messages to the zope-tests list.
Period Sun Oct 5 11:00:00 2008 UTC to Mon Oct 6 11:00:00 2008 UTC.
There were 5 messages: 5 from Zope Tests.
Tests passed OK
---
Subject: OK : Zope-2.8 Python-2.3.6 : Linux
From: Zope Tests
Date: Sun Oct 5 20:49:49 EDT 2008
URL:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kevin Teague wrote:
Nice!
Thanks! The source is here if you feel inspired:
http://svn.repoze.org/repoze.sphinx.autointerface/trunk/
I've been playing with this since I wanted to start using the
sphinx.ext.autoclass (and now