I cant check if the auth form to change a password is accepted. I have been
debugging a post and post_vars and form.vars are empty. I dont know whats
going, the password is changed succesfully but i cant display a message
since i dont know how to check the form's state.
I have the profile and change password forms in the same view so the
controller i have is something like this:
def user():
if request.args[0] == "profile":
auth.settings.profile_next = "/user"
auth.settings.change_password_next = "/user"
form = auth.profile()
form_pass = auth.change_password()
if admin:
create_form = SQLFORM(db.auth_user).process(formname="create") #to
create new users
Many thanks.
--
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.