Commit Graph

25 Commits

Author SHA1 Message Date
Carlos Antonio da Silva 86eecc6606 Change "ActionController::IntegrationTest" to "ActionDispatch::IntegrationTest" 2013-01-28 19:58:21 -02:00
Drew Ulmer f79bb31ee6 Add failing test for Issue #1994
Lockable should not leak information about account existence if paranoid
mode is on.
2012-10-25 16:20:21 -05:00
Kaleem Ullah 41b1e87105 fix unlock message 2012-01-23 15:20:05 +04:00
Jigyasa Makkar e2030a740d Fixed a bug in lockable wherein when a user tries to login with correct password after being locked,
failed attempts count gets reset. When the user tries to login with an incorrect password next,
the message shown is for invalid password instead of locked account since this check
depended mainly on failed attempts count.
2011-12-29 23:57:39 +05:30
Vasiliy Ermolovich 1e1e964d25 redirect users to sign in page after unlock, closes #1486 2011-12-08 22:06:09 +03:00
did bbd117bd92 implementation of a much simpler solution 2011-11-05 16:53:27 +01:00
José Valim 2a5ad4664b Change all paranoid settings to behave as success instead of as failure, closes #1375. 2011-10-15 10:52:00 +02:00
Benjamin Quorning a3bff7d6a2 Fix usage of "its" / "it's" in documentation 2011-08-16 22:15:25 +02:00
Rodrigo Flores 308238ab42 Not responding the object on creating unlockable requests 2011-06-22 23:04:55 -03:00
Rodrigo Flores e937cf78cf Added a test for empty json on unlockable controller response 2011-06-22 23:00:15 -03:00
Rodrigo Flores 422bc4aaa6 Added tests for lockable 2011-06-22 12:52:11 -03:00
José Valim e763f843c4 Tests pass on 3.0.7 2011-05-04 19:24:11 +02:00
Prem Sichanugrist 210bc6aa66 Add support for non-navigational formats in UnlocksController
Signed-off-by: José Valim <jose.valim@gmail.com>
2011-03-30 13:38:16 +02:00
José Valim 2602ef41cf Do not add unlock routes unless unlock strategy is email or both, closes #373 2010-07-12 07:24:21 +02:00
José Valim 731f156f50 Do not show unlock link unless strategy is e-mail. Closes #204. 2010-04-15 08:40:15 +02:00
José Valim 8db559148c All tests green on latest Rails beta. 2010-04-13 23:28:13 +02:00
José Valim b974b7bc78 Move failure messages from devise.sessions to devise.failure. 2010-04-03 13:11:45 +02:00
José Valim 23e608e27b No need to append ?unauthenticated=true in URLs anymore since Flash was moved to a middleware in Rails 3. 2010-04-03 11:43:31 +02:00
José Valim 597a930c74 We do not use t() helpers in views, so there is no reason why this particular one should use them. 2010-03-30 20:06:56 +02:00
José Valim 22e1fa0cb9 Small cleanup. 2010-03-30 00:29:57 +02:00
José Valim 7d14f0bbb9 Allow several authentications to share a common path. 2010-03-29 23:44:47 +02:00
José Valim 2a082f3e4c Fix some unlockable bugs. 2010-03-28 23:09:28 +02:00
José Valim ca4e09390e Compatibility with Ruby 1.9.1 and 1.9.2. 2010-03-26 11:27:19 +01:00
José Valim ac742e3271 Clean up lockable and class methods API. 2010-03-10 16:13:54 +01:00
Marcelo Silveira d2fa737aa0 introducing lockable implementation 2010-01-01 17:57:35 -02:00