On Thursday, July 14, 2011 1:03:24 AM UTC-4, weheh wrote: 
>
> How would one get auth.messages.logged_in to be something like 
> "Welcome Massimo"upon login? auth.user_id is None at the time the 
> auth.messages.logged_in is evaluated.

 
There may be a better way, but maybe something like this:
 
def dynamic_logged_in_message(form):
    session.flash='Welcome %s' % auth.user.first_name
auth.settings.login_onaccept = dynamic_logged_in_message
 
 
Anthony

Reply via email to