Hi, Currently, I'm using the default auth() (eg. return dict(form=auth()) method for generating the form for my user login view.
I'd like to know if there's any way by which I can tell if a login has failed from within the controller action? I've just asked on the IRC channel, and the answer I got was to check response.flash in the view. However, I'm using a custom layout and do not have the flash displaying anywhere near my login form. Is there a way that I can tell if the login has failed, and display my own error message if need be, without having to rely on response.flash in the view? Cheers Ruiwen