plataformatec/devise — pull request #2826 by tobinibot (2014-01-07 04:53:30+00:00)
Title: Fix off-by-one error in Lockable module

When using the `maximum_attempts` property in the `Lockable` module, Devise actually let you fail n + 1 times, not n times.

See https://github.com/plataformatec/devise/issues/2825 for details.