Commit Graph

15 Commits

Author SHA1 Message Date
Pat Allan f39c6fd927 Add the frozen_string_literal pragma comment to all Ruby files. (#4725) 2017-12-21 15:36:29 -02:00
José Valim 2bde395840 Update activatable.rb 2014-06-06 13:03:53 +02:00
Anshul Sharma dc1b399a8b Updated ruby 1.9 hash syntax 2014-02-25 22:12:55 +05:30
Erik Michaels-Ober 3f03ec02ad Cleanup trailing whitespace 2013-12-05 09:03:32 +01:00
Erik Michaels-Ober 26e85c44e2 Removed use of gendered pronouns 2013-12-02 10:02:17 +01:00
José Valim edee511cd1 Rename active? to active_for_authentication? 2011-03-25 15:40:46 +01:00
José Valim 7ff0231ab7 Don't pass options forward, this fixes uncaught warden error. Unfortunately could not write a test for it, although easily reproducible in Rails applications. Closes #754 2011-01-03 16:25:23 +01:00
José Valim 1cdb02bd54 More tiny fixes 2010-12-25 11:15:56 +01:00
siong1987 379d8c69a5 Issue 675: recall option is now passed for not confirmed email and inactive account. 2010-12-23 02:24:26 +08:00
José Valim 59bee679ca Add tests to cookie domain, closes #254. 2010-05-16 14:13:56 +02:00
José Valim c07b5ae858 :activatable is included by default in your models. If you are building a strategy for devise, you now need to call validate(resource), since Devise has now a default API to validate resources before and after signing them in. You can still use other Warden::Strategies with Devise, but they won't work with a few modules like unlockable (they never did, but now we have a single point to make it work). 2010-04-06 16:34:22 +02:00
José Valim 1d65a76cf3 Move remember_me hook inside strategies. 2010-03-31 21:43:19 +02:00
José Valim 1c5d4771ff Initial work on making the authentication stack more flexible. 2010-03-29 16:13:19 +02:00
José Valim 2afad49a96 Bring rememberable back. 2010-01-14 15:47:14 +01:00
José Valim e1c2e45f97 Extract Activatable from Confirmable, so if you need to active your account through other means, you can still do so and ensure cherry pick works as expected. 2009-12-20 13:53:53 +01:00