Commit Graph

18 Commits

Author SHA1 Message Date
José Valim 6517b358a1 sign_in_count should also be increased when user signs in via password change, confirmation, etc. 2010-01-07 22:41:14 +01:00
José Valim 35a8d13369 Tests passing for ActiveRecord and MongoMapper. 2009-12-21 21:10:23 +01:00
José Valim 4c7081c2e3 More Datamapper compatibility. 2009-11-24 18:02:36 -02:00
Carlos Antonio da Silva fc89db636a Refactoring tests with I18n. 2009-11-23 23:01:00 -02:00
Carlos Antonio da Silva 40aaa98de9 Refactoring timeoutable module and confirmable tests. 2009-11-23 23:01:00 -02:00
Carlos Antonio da Silva 099c77e867 Introducing timeoutable to timeout sessions without activity. 2009-11-23 23:01:00 -02:00
José Valim ffbc9c604d Only redirect if needed. 2009-11-16 14:31:09 -02:00
José Valim 371a9bb0d0 Major refactoring. Allow Warden::Manager to be configured through Devise, undeprecate Devise.confirm_within, Devise.pepper and friends and move Rails hooks to their own file. 2009-11-03 09:35:11 -02:00
José Valim e7f809de3c Do not require ActiveRecord to be loaded to use Devise. 2009-10-30 21:51:50 -02:00
José Valim 3209e7d988 Renamed confirm_in to confirm_within. 2009-10-30 07:23:47 -02:00
Carlos A. da Silva bbca9e830e Verify confirmation time frame to let the user sign in or block it if the user is not confirmed. 2009-10-22 20:18:16 -02:00
Carlos A. da Silva f1bb64fb1e Update flash messages to show signed in automatically info. 2009-10-18 10:39:22 -02:00
Carlos A. da Silva 8d85db3b57 Sign user in automatically after confirming or changing it's password 2009-10-18 10:36:20 -02:00
Carlos A. da Silva 75e98d3041 Separating perishable token into confirmation and reset_password tokens. Adding confirmation_sent_at attribute. 2009-10-18 09:14:52 -02:00
Carlos A. da Silva a5cb147eb2 Stores the requested page before signing in and redirect the user to the stored uri after. 2009-10-17 11:12:50 -03:00
Carlos A. da Silva e8611609ac Send confirmation instructions only works if the record is not confirmed. 2009-10-15 16:54:04 -03:00
José Valim e50dfcc73f More specs. 2009-10-12 09:56:12 -03:00
José Valim 43a13bf2fe Add missing files. 2009-10-12 08:37:42 -03:00