> This's not working !! you need to set the message before actually logged in !!

Why is that? I welcome a user who logs in so setting
auth.messages.logged_in works. When does auth.user provide you with
values for first_name and last_name in your solution? Before logging
in?

> your solution just set the message after user is actually logged in so
> it's useless

Cheers!

> moreover, setting the logout message will not work, unless the index
> page itself has no flash message set or else the flash message in
> index age will override yours

In my case (with login_next and logout_url set) both the login message
and the logout message works, so who are you to tell me that it
doesn't work. As I said:

> It's probably not the most elegant of solutions, but in db.py I simply
> set:

Kind regards,

Annet.

Reply via email to