Commit Graph

21 Commits

Author SHA1 Message Date
Carlos A. da Silva
3700e9979c Clearing perishable token when confirming or reseting password. 2009-10-15 17:36:44 -03:00
Carlos A. da Silva
73442abe95 Refactoring confirmable callbacks and updating TODO 2009-10-15 17:05:46 -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
Carlos A. da Silva
417f273a81 Moving perishable inclusion to active_record devise, to include just once. Also refactor confirm! method. 2009-10-15 16:43:30 -03:00
Carlos A. da Silva
7f91651d0c Updating tests to reflect salt and password changes. 2009-10-15 16:19:03 -03:00
José Valim
3c5bfc9520 Kick tests back to life. 2009-10-12 08:37:28 -03:00
Carlos A. da Silva
198167d978 Removing default mapping and Updating tests at all 2009-10-10 18:07:25 -03:00
Carlos A. da Silva
4e263b96c9 Updating sessions controller to use resource oriented style. Changing authenticate method to accept a hash of attributes. 2009-10-10 16:20:23 -03:00
Carlos A. da Silva
aaddc05f99 Moving modules inside respective Models module. 2009-10-09 10:37:36 -03:00
Carlos A. da Silva
c0b272a49d Refactoring generating salt and encrypting password only before saving the record. 2009-10-09 07:36:13 -03:00
Carlos A. da Silva
c82cad5887 Ensure user won't be able to sign in after asking for confirmation instructions or updating it's email, forcing to pass the confirmation process. 2009-10-09 07:36:13 -03:00
Carlos A. da Silva
3cc61e4a96 Creating stretches to force encrypting password as many times as possible. 2009-10-09 07:36:13 -03:00
Carlos A. da Silva
b36856a3a1 Creating confirmation controller and integration tests. 2009-10-09 07:36:12 -03:00
Carlos A. da Silva
095f7026cb Refactoring recoverable tests to access database only when needed. 2009-10-09 07:36:12 -03:00
Carlos A. da Silva
98fa7bf336 Refactoring confirmable to use hash options instead of parameters as recoverable does. 2009-10-09 07:36:12 -03:00
Carlos A. da Silva
97ae1795bd Recoverable class method reset_password should use a bang! 2009-10-09 07:36:12 -03:00
Carlos A. da Silva
ba7e74e1a1 Refactoring confirmable and recoverable to use the same default find method by perishable token. 2009-10-09 07:36:12 -03:00
Carlos A. da Silva
cf1ea9ab86 Cleaning up recoverable methods, changing to use a hash of options instead of default parameters. 2009-10-09 07:36:12 -03:00
Carlos A. da Silva
f8f8ba06a1 Changing SECURE_AUTH_SITE_KEY to mattr_accessor, adding gitignore and removing log files from test app. 2009-10-09 07:36:12 -03:00
Carlos A. da Silva
7ce49cbbe8 Configuring session and password controllers as engine, and getting integration tests from devise example app. 2009-10-09 07:36:12 -03:00
Carlos A. da Silva
3655fe9096 Restructuring directories for models and mailers. 2009-09-20 10:35:26 -03:00