1
0
Fork 0
mirror of https://github.com/heartcombo/devise.git synced 2022-11-09 12:18:31 -05:00
Commit graph

12 commits

Author SHA1 Message Date
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