2009/3/16 Michael Howitz <mh@gocept.com>:
Am 16.03.2009 um 16:43 schrieb Roger Ineichen: [...]
It's a pagelet implementation of login/logout, so I thought it matches the goal of this package very well.
Yes and No. It's of corse usefull to have predefined login views available. But I use a z3c.form based implementation for this.
I thought this as the next step: the template for cookie login is not really nice and makes wrong assumptions (e. g. unauthenticated principal has the id zope.anybody). So I planned to replace it with a z3c.form based login form. But this would add a new dependency and I was not sure if this is a good idea.
Look at my latests changes in zope.app.authentication loginForm template, it cleans up the template by separating camefrom/unauthenticated logic into a python class. I think you should do the same for your implementation. -- WBR, Dan Korostelev