Rodrigo Flores
65f08ea175
Removing signed_out path workaround
2012-02-16 14:53:11 -02:00
José Valim
df8ac1cfe6
Clean up remember token related config.
2012-02-16 12:30:04 +01:00
José Valim
82da877863
Merge pull request #1565 from joliss/unconfirmed-message
...
More helpful sign-up message for Confirmable
2012-01-24 05:06:51 -08:00
José Valim
275c480f89
Redirect to the previous URL on timeout, closes #1596
2012-01-24 14:00:36 +01:00
José Valim
55be93d5c4
Deprecated support for nested devise_for blocks
2012-01-24 13:40:04 +01:00
Jo Liss
c78c196423
More helpful sign-up message for Confirmable
...
This is also better for translations, because we can translate paragraph-wise.
signed_up_but_inactive and signed_up_but_locked are likely not needed,
but I wasn't sure how to best remove them.
2012-01-23 13:52:32 +01:00
Kaleem Ullah
41b1e87105
fix unlock message
2012-01-23 15:20:05 +04:00
Rafael Mendonça França
cf5fbb9d65
Fix order specific test
2012-01-10 11:59:20 -03:00
Rafael Mendonça França
d699b80254
Do not use a local network ip as HTTP_X_FORWARDED_FOR header
...
If HTTP_X_FORWARDED_FOR is a local network IP the HTTP_CLIENT_IP
need to be set
2012-01-10 11:43:15 -03:00
Rafael Mendonça França
edb0aac091
Whitespaces ✂️
2012-01-09 18:11:10 -03:00
Rafael Mendonça França
9549a32500
Do not use deprecated ActiveSupport::Base64. Closes #1554
2012-01-09 18:10:49 -03:00
Jigyasa Makkar
e2030a740d
Fixed a bug in lockable wherein when a user tries to login with correct password after being locked,
...
failed attempts count gets reset. When the user tries to login with an incorrect password next,
the message shown is for invalid password instead of locked account since this check
depended mainly on failed attempts count.
2011-12-29 23:57:39 +05:30
José Valim
5a11c6597c
Usage of Devise.stateless_token= is deprecated in favor of appending :token_auth to Devise.skip_session_storage
2011-12-11 20:39:41 +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
Vasiliy Ermolovich
1e1e964d25
redirect users to sign in page after unlock, closes #1486
2011-12-08 22:06:09 +03:00
José Valim
263e0b7692
Fix failing test.
2011-12-07 13:23:55 +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
Rodrigo Flores
5c3f75d90a
Merge pull request #1426 from TamiasSibiricus/omniauth-1.0.0
...
Support OmniAuth 1.0.0 stable
2011-11-10 03:16:53 -08:00
José Valim
22136a708b
Fix failure_app failing test.
2011-11-07 21:38:31 -02:00
Denis Kiselev
ea9e8c0c9b
Merge remote-tracking branch 'dkastner/omniauth-1.0' into omniauth-1.0.0
...
Conflicts:
test/omniauth/url_helpers_test.rb
2011-11-07 22:26:51 +02:00
José Valim
bad6049d73
Allow :failure_app as configuration in devise_for.
2011-11-07 09:20:09 -02:00
José Valim
e9c263c326
Merge pull request #1418 from locomotivecms/simple_scoped_mailer
...
Re-define the devise mailer inside a model
2011-11-06 01:38:08 -08:00
José Valim
a816e538ab
Fix bug where activation messages were shown first than the credentials error message, closes #1410
2011-11-05 19:47:58 -02:00
did
bbd117bd92
implementation of a much simpler solution
2011-11-05 16:53:27 +01:00
José Valim
d448e7d841
Timeoutable also skips tracking if skip_trackable is given
2011-10-25 18:43:48 +02:00
salidux
d11402612f
test for trackable behind a proxy
2011-10-22 11:57:18 -02:00
José Valim
2a5ad4664b
Change all paranoid settings to behave as success instead of as failure, closes #1375 .
2011-10-15 10:52:00 +02:00
Jim Herzberg
b98720d324
jh - reworking paranoid mode in passwords controller
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2011-10-15 10:45:33 +02:00
Derek Kastner
3f0b5fbd71
Support for OmniAuth 1.0.0
2011-10-14 21:31:17 -04:00
Brian Rose
7f754caba3
Merge branch 'master' into updates
2011-10-12 10:56:08 -06:00
José Valim
bc8fc2d4e4
Allow idempotent API requests, closes #1309 .
2011-09-29 11:35:18 +02:00
James Cook
edcca8cd3f
DatabaseAuthenticatable#clean_up_passwords should set accessors to nil, not empty string.
2011-09-02 13:14:15 -04:00
Rémy Coutable
ebbabaea5b
After a password reset, don't show "You are now signed in." if the user can't be signed-in anyway.
2011-09-01 00:24:10 +02:00
Brian Rose
8c0f74f036
Add better message when user updates while reconfirmable is enabled.
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
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
Benjamin Quorning
a3bff7d6a2
Fix usage of "its" / "it's" in documentation
2011-08-16 22:15:25 +02:00
José Valim
e76ba05516
Merge pull request #1249 from ches/mongoid-fixes
...
Tests that should no longer exclude Mongoid
2011-08-06 08:21:48 -07:00
Ches Martin
3cedba1de8
Fix optional enforcement of particular authentication keys
...
Documentation states that authentication_keys should accept a hash with
values indicating whether or not each key is required. This was added in
b2066cc2 but tests only covered request_keys, and 29afe2d2 later broke
it with a << array operator.
2011-08-06 20:07:49 +07:00
Ches Martin
ccbf26be0a
Tests that should no longer exclude Mongoid
2011-08-06 19:28:19 +07:00
Ches Martin
55af9f8a40
Fix failing Mongoid tests
...
- attr_accessible not set for test user model, making Serializable tests
inaccurate
- Mongoid does not `include_root_in_json` by default, so enable this for
consistency with AR tests
- Mark tests pending for Mongoid < 2.1 that fail there due to known bugs
- Add `:mongoid` key for i18n model labels
- Remove outdated shim of `update_attribute` that caused mass assignment
security to be applied (ugh, that took awhile to find)
2011-08-05 01:38:42 +07:00
Gabe da Silveira
ed6dfed67f
Resetting password should confirm implicitly
2011-07-29 14:26:19 -07:00
Gabe da Silveira
3488066031
Spelling correction
2011-07-29 14:17:31 -07:00
Mathieu Ravaux
a2700bc17f
Fixed issue #1206 : TokenAuthenticatable#params_auth_hash behaving in an unexpected way for the authentication token lookup
2011-07-23 17:45:45 +02:00