Vasiliy Ermolovich
1e1e964d25
redirect users to sign in page after unlock, closes #1486
2011-12-08 22:06:09 +03: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
José Valim
bba6562dcc
after_sign_in_path_for now redirects to session[scope_return_to] if any value is stored in it
2011-09-29 13:07:13 +02:00
Rodrigo Flores
308238ab42
Not responding the object on creating unlockable requests
2011-06-22 23:04:55 -03:00
Rodrigo Flores
6199252011
Refactored paranoid mode actions for it to appear once
2011-06-22 12:52:11 -03:00
Rodrigo Flores
40c0a7b50b
Added paranoid mode to lockable
2011-06-22 12:52:11 -03:00
José Valim
5b94d9b803
Refactor a bit navigational format responses, to not call to_sym and reuse the request_format logic from FailureApp.
2011-03-30 14:09:12 +02:00
Prem Sichanugrist
210bc6aa66
Add support for non-navigational formats in UnlocksController
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2011-03-30 13:38:16 +02:00
José Valim
0aa41d6388
Tidy up lose ends.
2010-07-26 20:32:05 +02:00
José Valim
2602ef41cf
Do not add unlock routes unless unlock strategy is email or both, closes #373
2010-07-12 07:24:21 +02:00
José Valim
2a082f3e4c
Fix some unlockable bugs.
2010-03-28 23:09:28 +02:00
Carlos Antonio da Silva
a5ba2ac1a8
Use prepend_before_filter in require_no_authentication.
...
We need to be sure require_no_authentication runs before other user filters that may call some Devise helper (ie current_xxx).
Conflicts:
app/controllers/devise/passwords_controller.rb
app/controllers/devise/registrations_controller.rb
app/controllers/devise/sessions_controller.rb
app/controllers/devise/unlocks_controller.rb
lib/devise/controllers/internal_helpers.rb
test/rails_app/app/controllers/application_controller.rb
2010-03-26 08:26:51 -03:00
José Valim
c76df8239f
Require no authentication on unlockable.
2010-03-23 17:56:32 +01:00
José Valim
ac742e3271
Clean up lockable and class methods API.
2010-03-10 16:13:54 +01:00
José Valim
02e8c04cde
Update views generator and now have scoped views.
2010-02-17 12:26:54 +01:00