plataformatec/devise — Issue #1587: database authentication failure does not support i18n
Author: pothibo
Created: 2012-01-20 13:12:01+00:00
State: open

Unless I'm mistaken, when a user enter the wrong username/password combo, the database_authentication strategy calls
```fail(:invalid)```
this is bubbled up to the view through the flash[:alert]. :invalid is converted to string and this is what is returned: "invalid"

However, everywhere else in devise, the translation is done _BEFORE_ being assigned to flash[:alert|:notice].

I would like invalid to have the same behavior