[Zope3-Users] Generating loginForm with formlib
Florian Lindner
mailinglists at xgm.de
Thu Apr 20 09:38:32 EDT 2006
Hello,
I want to generate a login form for the PAU session credentials plugin. The
plugin expects a form that have a login and a password field.
I've created a interface:
class ILoginForm(Interface):
"""For generating the login form."""
login = TextLine(title=u"Username",
required=True)
password = Password(title=u"Password",
required=True)
but formlib generates the two fields with name="form.login" therefore the
session credentials plugin is able to extract the credentials.
How can I use formlib to generate a login form?
Thanks,
Florian
More information about the Zope3-users
mailing list