Commit Graph

16 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
Erik Michaels-Ober 3f03ec02ad Cleanup trailing whitespace 2013-12-05 09:03:32 +01:00
José Valim 66716023e4 Disable storage on CSRF 2012-06-16 14:51:37 +02:00
José Valim 81620fecab More about extend remember period feature. 2010-07-23 23:57:31 +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 7d14f0bbb9 Allow several authentications to share a common path. 2010-03-29 23:44:47 +02:00
José Valim 65b8908960 Create authenticatable base model and strategy. 2010-03-29 20:52:48 +02:00
José Valim 1c5d4771ff Initial work on making the authentication stack more flexible. 2010-03-29 16:13:19 +02:00
José Valim 60fd9d26ea Rely on duck type instead of mappings settings. 2010-02-06 10:06:22 +01:00
José Valim 2afad49a96 Bring rememberable back. 2010-01-14 15:47:14 +01:00
José Valim 1f98eed6f6 Raise error if mapping cannot be found. 2009-11-15 20:07:47 -02:00
José Valim dbe0b48bca Do not store mappings since they can change by scope in serializers. 2009-11-15 02:13:54 -02:00
José Valim 7ffd0900c1 Rely on Warden new serializers. 2009-11-15 00:13:43 -02:00
José Valim b69d822d51 Dynamically check if strategies should be run. 2009-10-18 13:25:35 -02:00
Carlos A. da Silva fb160f8be4 Refactoring devise strategies. 2009-10-18 11:15:23 -02:00