José Valim
09088706bb
Extract encryptors into their own module for better bcrypt support.
2010-09-25 16:08:46 +02:00
José Valim
31d821c2e0
Allow to Rememberable to work without remember_token relying on salt if possible.
...
This comes with the benefit that if you change your password, all remember tokens expires, and it also requires one field less in the database.
The downside is that if you want remember_me_across_browser to be false, it won't work unless you use the token. It also requires you to be using database_authenticable.
Using salt is now the default in Devise.
2010-09-25 13:07:24 +02:00
José Valim
ee49077072
:default options is used, closes #452
2010-08-26 08:30:43 -03:00
José Valim
3ba424774e
Remove deprecated code.
2010-07-26 20:32:05 +02:00
José Valim
e3b815de49
Bring encrypted password limit back.
2010-06-18 22:00:31 +02:00
José Valim
ac0105d15f
No need to limit password.
2010-06-17 00:36:09 -07:00
José Valim
f16d01869a
Rename apply_schema to apply_devise_schema and refactor Mongoid part a bit.
2010-06-13 11:48:45 +02:00
postmodern
27c4280eca
Expend the length of the encrypted_password field to 128 to allow storing BCrypt or SHA512 passwords.
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-04-02 20:31:33 +02:00
José Valim
1d65a76cf3
Move remember_me hook inside strategies.
2010-03-31 21:43:19 +02:00
José Valim
6cc32db2dd
Add lock_strategy.
2010-03-31 11:54:11 +02:00
José Valim
e04c5ba977
More work with unlock_strategy equals to none.
2010-03-30 01:58:06 +02:00
José Valim
81926c2cd2
Allow :unlock_strategy to be :none.
2010-03-30 00:07:11 +02:00
José Valim
1c5d4771ff
Initial work on making the authentication stack more flexible.
2010-03-29 16:13:19 +02:00
José Valim
bd4b29c0fd
sign_in_count shoud default to zero.
2010-03-26 12:56:24 +01:00
Lucas Uyezu
8525b56318
SQLite requries a default value when the column is NOT NULL
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-02-25 08:33:38 +01:00
Jonas Grimfelt
e1440fb430
Initial support for authorization using "authentication token" (a.k.a. "single access token") - new module. Corresponding changes to Devise core to hook events like "after_changed_password" (only one added now - only one that makes much sense for latest module) easily. Unit and integration tests included. NOTE: One failing test for hooking Warden::Manager.after_authentication - gets ignored for some reason.
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-02-02 12:36:44 +01:00
José Valim
ca794776c1
Bump to 0.9.1.
2010-01-25 20:19:47 +01:00
jgeiger
b3fd742aea
bcrypt requires the salt to be over 29 chars
2010-01-22 23:04:03 +08:00
Marcelo Silveira
d2fa737aa0
introducing lockable implementation
2010-01-01 17:57:35 -02:00
José Valim
4f4ac1653f
Do not check class collisions, we want to be able to scaffold and then apply Devise on top of it.
2009-12-15 00:07:42 +01:00
José Valim
3272438671
Fix small typo on docs.
2009-11-24 15:46:54 -02:00
José Valim
f9c5dd6a79
Added trackable for sign_in_count, sign_in_at and sign_in_ip.
2009-11-24 15:18:42 -02:00
José Valim
fddf95fe0a
More improvements in DataMapper support front.
2009-11-22 09:14:58 -02:00
José Valim
6ba42affc7
Allow schema options to work together with devise method in ORMs where devise and schema are in the same class (as in Datamapper and MongoMapper).
2009-11-15 20:35:19 -02:00
José Valim
8775f5d61a
Tidy up MongoMapper and Schema.
2009-11-13 22:33:00 -02:00