Re: [web2py] requires _ verification = True , no Flash?

2013-02-15 Thread António Ramos
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 

> thank you
>
> 2013/2/4 Bruno Rocha 
>
>> 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.




Re: [web2py] requires _ verification = True , no Flash?

2013-02-04 Thread António Ramos
thank you

2013/2/4 Bruno Rocha 

> 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.




Re: [web2py] requires _ verification = True , no Flash?

2013-02-04 Thread Bruno Rocha
def flash(user): response.flash = "Please check your inbox"

auth.settings.register_onaccept = flash

On Mon, Feb 4, 2013 at 12:12 PM, António Ramos  wrote:

> How can i have a flash message telling the user to check and validate the
> link sent to the user email?
>  without a flash message the users registering for the first time does not
> know that an email was sent to his mailbox.
>
>
> Thank you
>
> --
>
> ---
> 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.
>
>
>

-- 

--- 
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.




[web2py] requires _ verification = True , no Flash?

2013-02-04 Thread António Ramos
How can i have a flash message telling the user to check and validate the
link sent to the user email?
without a flash message the users registering for the first time does not
know that an email was sent to his mailbox.


Thank you

-- 

--- 
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.