Thanks for the responses. When auth.settings.login_onaccept gets executed, auth.user_id has value of None, so it is not possible to get the user's name. Anthony is right that I am attempting to set the session.flash to flash the login message just once at login. This is a nice to have, not a must have.
- [web2py] how to get user name before login is completed weheh
- [web2py] Re: how to get user name before login is complet... Anthony
- [web2py] Re: how to get user name before login is com... puercoespin
- [web2py] Re: how to get user name before login is... Anthony
- [web2py] Re: how to get user name before logi... weheh

