plataformatec/devise — pull request #2687 by Lightpower (2013-10-14 22:56:40+00:00)
Title: Warning of the last attempt password entering

Send custom message when user enters invalid password and it has only one attempt to enter correct password before his account will be locked.
This feature is switched off by default. It doesn't work in paranoid mode.