I've figured out how this works, but I am missing the following: I have a mail_settings() function in the default controller. It's setting up my smtp settings and other redirect settings (auth.settings.login_next and the like).
All works like a charm, but it seems that I have to call this function every single time - somehow the system resets the settings back to the defaults. I've found a solution by simply calling this function every time in the default/user(), so whenever it comes to signing up, login, lost password and the rest of functionality - it's working correctly, because the entry point - user() - is setting up right. I don't understand though why in the world I have to set all those settings up every time - why the system doesn't keep those settings if I call it just once. What am I missing? -- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.