[Zope-CMF] stupid problem with login_form not showing

Dieter Maurer dieter@handshake.de
Thu, 30 Jan 2003 21:20:23 +0100


robert wrote at 2003-1-30 06:46 +0100:
 > I am using plone, and would like to show a login form different from the 
 > welcome-form (index_html) when the user is not logged in.
 > How do I do that?
The easiest way is to protect it (remove "View" permission from
Anonymous).

Another approach: Check whether the user is authenticated
("portal_membership" has a method for this) and
redirect, if it is not.


Dieter