2009/3/16 Michael Howitz <m...@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
_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to