[Zope] LoginManager form-based login and <dtml-raise "LoginRequired">

Gerald Gutierrez gutz@kalador.com
Wed, 07 Mar 2001 16:06:57 -0800


In my continuing quest to get LoginManager working for me, I've found that 
the loginForm needs to be wrapped with a <dtml-raise> tag before it'll 
display. If not, the basic authentication dialog box pops up.

The <dtml-raise> tag seems to cause a stack trace to be displayed along 
with the login form. I cannot seem to get rid of it no matter what I do. I 
must have it not show up because my application uses WML and the <pre> tag 
is not a part of WML (and it'll make the page exceeded the maximum size of 
the page anyway).

The source to LoginManager seems to just "call" acl_users.loginForm() and 
expect that it raises an exception in order to display a page to the user. 
Does this mean that there is no way around not displaying the stack trace 
to the user?

Thanks.