I am writing a custom registration form, and would like the form to contain
a field in which the user has to re-enter/confirm the password they want.
The new user() function contains the following lines:
def user():
if request.args(0) == 'login':
return dict(form = auth())
else:
form_user = SQLFORM(db.auth_user)
if form_user.process().accepted:
pass
return dict(form=form_user)
The registration form that's generated does not contain a field to confirm
the password.
I've set 'auth.settings.register_verify_password' to True in my db.py file
(generated by the wizard), but it does not seem to have any effect. How can
I make the password confirmation field appear as part of the form? Thank
you.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.