Vasiliy Ermolovich
|
aca8d3f34c
|
regenerate confirmation token on reconfirmation, closes #1530
|
2011-12-31 14:22:58 +03:00 |
|
José Valim
|
89db0dd44d
|
Do not run validatins unless on reconfirmable branch, closes #1515.
|
2011-12-20 20:54:49 +01:00 |
|
José Valim
|
930b324c15
|
Usage of confirm_within was deprecated in favor allow_unconfirmed_access_for
|
2011-12-11 20:18:02 +01:00 |
|
José Valim
|
d952dea32b
|
Remove the code that was dynamically adding columns to active record
|
2011-12-11 20:07:50 +01:00 |
|
José Valim
|
9a6ac7ab69
|
Add confirmable to admin.
|
2011-12-11 20:07:50 +01:00 |
|
José Valim
|
bd27bf7677
|
Deprecate and disable old behavior accumulated with time.
|
2011-12-04 23:58:19 +01:00 |
|
José Valim
|
6aed8f1c87
|
Clean up reconfirmable behavior.
|
2011-12-04 22:14:44 +01:00 |
|
José Valim
|
6d681c5b8a
|
Merge remote-tracking branch 'heimidal/updates' into reconfirm
Conflicts:
lib/devise/models/confirmable.rb
test/support/helpers.rb
|
2011-12-04 20:58:41 +01:00 |
|
lest
|
37dad2172b
|
implement dynamic value for timeout_in as a model method instead of a proc
|
2011-11-25 11:01:42 +03:00 |
|
lest
|
426223dda0
|
timeout_in option can be a Proc object
|
2011-11-24 21:42:58 +03:00 |
|
Kir
|
5ba6670164
|
Added support for rails 3.1 new mass assignment conventions
|
2011-11-24 12:51:03 +04:00 |
|
José Valim
|
dc8aa9ef83
|
Move param filtering to its own object and make all finder methods pass through it, closes #1413.
|
2011-11-10 10:14:02 -02:00 |
|
Brian Rose
|
5a820262f9
|
Fix double-submit reconfirmation bug
Previously, if a user submitted their new email twice, they would bypass
the reconfirmation requirement and wind up auto-confirmed.
|
2011-08-30 22:19:18 -06:00 |
|
Brian Rose
|
a1407565c8
|
Selectively add reconfirmable field in tests when necessary.
|
2011-08-30 22:19:18 -06:00 |
|
Brian Rose
|
a7c5a2e65d
|
Fix up implementation of reconfirmable.
|
2011-08-30 22:19:17 -06:00 |
|
mandaryn
|
10ac4dbc35
|
reconfirmable uniqueness validations
|
2011-08-30 22:19:17 -06:00 |
|
mandaryn
|
6469cbc62a
|
renamed confirmation_on_email_change property to reconfirmable and added reconfirmable explanations
|
2011-08-30 22:19:17 -06:00 |
|
mandaryn
|
1961de6b5d
|
Add email confirmation when it is changed by a user
|
2011-08-30 22:19:17 -06:00 |
|
José Valim
|
7b1418be3b
|
Improve the regexp a bit more.
|
2011-08-29 14:55:56 +02:00 |
|
José Valim
|
a8d9695324
|
Simplify regexp and ensure it runs against UTF8 chars, closes #1235
|
2011-08-29 13:15:40 +02:00 |
|
Benjamin Quorning
|
a3bff7d6a2
|
Fix usage of "its" / "it's" in documentation
|
2011-08-16 22:15:25 +02:00 |
|
David Turner
|
6d65c28f1f
|
remove hard-to-distinguish characters from friendly_token
|
2011-08-10 12:44:30 -04:00 |
|
Gabe da Silveira
|
3488066031
|
Spelling correction
|
2011-07-29 14:17:31 -07:00 |
|
José Valim
|
33d7644b4f
|
Provide a more robust behavior to serializers and add :force_except option
|
2011-06-30 10:43:33 -03:00 |
|
José Valim
|
6a8ee475fd
|
This was fixed in mongoid, closes #770.
|
2011-06-29 20:18:10 -03:00 |
|
Chase DuBois
|
c3432e57b1
|
Test for previous commit
|
2011-06-21 20:45:07 -04:00 |
|
José Valim
|
c0017ce76d
|
Merge pull request #1138 from fschwahn/update_without_password
added update_without_password method, closes #801
|
2011-06-15 10:45:18 -07:00 |
|
Stefan Wrobel
|
8e87a2d80d
|
Add strip_whitespace_keys which works like case_insensitive_keys but strips whitespace from emails
|
2011-06-10 01:37:43 -07:00 |
|
José Valim
|
4964f53a42
|
Merge pull request #1092 from xavier/filterwhitelist
Conditional string conversion of auth params (Closes #1079)
|
2011-06-08 08:39:53 -07:00 |
|
Paul Bellamy
|
0bcf71f8df
|
Rails has removed SecureRandom from ActiveSupport in Rails 3.2,
deprecated
* Changing references in generators and encryptable_test
|
2011-05-28 14:44:54 +01:00 |
|
Xavier Defrang
|
ab3bb9cf4d
|
Conditional string conversion of auth params (Closes #1079)
|
2011-05-26 15:45:03 +02:00 |
|
José Valim
|
69126a31db
|
Merge pull request #1052 from Thibaut/email-validation
Don't validate email format and uniqueness unless it's changed
|
2011-05-26 05:24:45 -07:00 |
|
Josh Kalderimis
|
e10bc9e3c0
|
dup the conditions hash before calling filter_auth_params, this fixes an issue with reseting your password when using a custom auth field like login
|
2011-05-16 14:08:22 -04:00 |
|
Thibaut
|
92c9ed2d6c
|
Don't validate email format and uniqueness unless it's changed.
|
2011-05-07 19:02:44 +02:00 |
|
fabian
|
8bdc4b544f
|
added update_without_password method
|
2011-05-05 09:24:21 +02:00 |
|
José Valim
|
e763f843c4
|
Tests pass on 3.0.7
|
2011-05-04 19:24:11 +02:00 |
|
José Valim
|
a59410a254
|
password_required? should not affect length validation, closes #1037.
|
2011-04-29 08:33:33 +02:00 |
|
Chase DuBois
|
89e4ab8a45
|
Moved check against record deletion into forget_me! method in model; added unit test.
|
2011-04-25 15:49:59 +08:00 |
|
José Valim
|
ae976f60ca
|
Mark the token as expired, because invalid gives no clue of what to do next.
|
2011-04-21 19:17:33 +02:00 |
|
José Valim
|
40153b7422
|
Add tests to previous commit.
|
2011-04-21 13:56:10 +02:00 |
|
Rodrigo Flores
|
a229627a54
|
Removed failing test cases on e-mail validations
|
2011-04-19 20:16:20 +08:00 |
|
SixArm
|
2a5669967f
|
Change test email addresses to ues RFC 2606 reserved domain example.com
|
2011-04-18 15:59:13 +08:00 |
|
Steve Hodgkiss
|
60809719b8
|
Fix bug when the reset_password_sent_at field doesn't exist generate_password_token returns nil causing the token not to be saved.
|
2011-04-17 23:53:50 +08:00 |
|
José Valim
|
5e2ee5eb6a
|
Downcase keys before validation.
|
2011-04-16 12:52:59 +02:00 |
|
Mikel Lindsaar
|
e329930a82
|
Update DatabaseAuthenticatable#valid_password? to not raise error on empty password
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2011-04-16 12:41:49 +02:00 |
|
Matias Korhonen
|
8db00eedea
|
Bump the password maximum length to 128 characters.
|
2011-04-15 16:39:01 +08:00 |
|
Jean-Daniel Guyot
|
be2aeee70f
|
Add reset_password_within configuration variable.
|
2011-03-30 21:11:33 +08:00 |
|
José Valim
|
edee511cd1
|
Rename active? to active_for_authentication?
|
2011-03-25 15:40:46 +01:00 |
|
José Valim
|
3f4fb1a769
|
Improve previous patch.
|
2011-03-11 20:46:08 +01:00 |
|
gilles
|
1982ad9f57
|
fix for possible injection with mongo
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2011-03-11 20:24:24 +01:00 |
|