It's auth.settings.reset_password_onaccept However you can also simply use auth.settings.login_after_password_change = False to force the user to login again.
A quinta-feira, 23 de março de 2023 à(s) 00:18:28 UTC, lucas escreveu: > hello one and all, > > ok, you know when you assign a function to the > auth.settings.login_onaccept event under db.py? well i have a lot of group > authorizations happening under that function which sets up the rest of the > application responding to those authorizations accordingly. i also set the > auth.settings.register_onaccept to that same function, undoubtedly to setup > similar authorizations after a person first successfully registers into the > website. > > so what is the event name to assign the same function after a person does > "Lost Password", clicks on the link in the sent email, and then types and > retypes in the new password? because after accepting both passwords, the > system automatically logs the person in but does not run the > auth.settings.login_onaccept event and corresponding function. i thought > it might be auth.settings.verify_email_onaccept but it is not that one. > > thank you in advance, lucas > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/a3243e75-3875-49ce-bc55-10e7d7a36208n%40googlegroups.com.

