On Tue, Apr 18, 2006 at 06:11:41PM +0200, Florian Lindner wrote:
> Hello,
> how can I find out if a user is authenticated with TAL? (not zope.anybody)
> 
> I've tried:
> 
> tal:condition="not: exists: request/principal/getLogin"
> 
> but that does not work reliable.

That's my way:

tal:condition="python: request.principal.id != 'zope.anybody'"

Regards,

Frank
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to