I'm using auth_change_password() in my profile Settings section. The code
responsible for the form:
change_password = auth.change_password(next=URL('seafarer', 'settings'))
change_password.update(_class='formstyle', _name='change_password')
return dict(change_password=change_password)
The form works, the input is processed, the password gets changed. However
there's no flash message after the submitting the form. I guess, as
change_password() is a build-in function, there should be a default flash
message.
I tried adding this (below), and it also doesn't work:
if change_password.accepted:
response.flash = "Password changed"
Any ideas?
--
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/groups/opt_out.