Topic: acts as authenticated question.

I'm using AAA for user authentication. I'm wondering does it not give any method for knowing that a login error occured or what it was?

Note I just installed it but I'm not using Rails 1.2 so I had to make some changes to the login view, but even the old view doesn't seem to display errors.


Re: acts as authenticated question.

If you look in the login controller that was generated, it should have a login action which you can configure to properly display an error message. You can add an "else" condition to "if logged_in?" and set a flash stating the authentication failed.

Railscasts - Free Ruby on Rails Screencasts