Its not working the flash message

def checkInbox(form):
    print "on_accept triggered"
    response.flash = "Por favor verifique a sua caixa de correio"
    print "end"

after my auth custom fields and
auth.define_tables()
i have
auth.settings.register_onaccept = checkInbox

I see in console log the "on accepted triggered" but no flash  and then
"end"
i tried also response but no luck.



2013/2/4 António Ramos <ramstei...@gmail.com>

> thank you
>
> 2013/2/4 Bruno Rocha <rochacbr...@gmail.com>
>
>> def flash(user): response.flash = "Please check your inbox"
>
>
>
>

-- 

--- 
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/groups/opt_out.


Reply via email to