mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
Ensure skipping authenticate! filter in passwords and confirmations controller, and adding rails_warden as dependency.
This commit is contained in:
parent
c39c668f20
commit
bfd0617a0e
5 changed files with 5 additions and 2 deletions
|
@ -5,6 +5,7 @@ Flexible authentication solution for Rails with Warden.
|
||||||
== Dependencies
|
== Dependencies
|
||||||
|
|
||||||
http://github.com/hassox/warden
|
http://github.com/hassox/warden
|
||||||
|
http://github.com/hassox/rails_warden
|
||||||
|
|
||||||
== License
|
== License
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
class ConfirmationsController < ApplicationController
|
class ConfirmationsController < ApplicationController
|
||||||
|
skip_before_filter :authenticate!
|
||||||
before_filter :require_no_authentication
|
before_filter :require_no_authentication
|
||||||
|
|
||||||
# GET /confirmation/new
|
# GET /confirmation/new
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
class PasswordsController < ApplicationController
|
class PasswordsController < ApplicationController
|
||||||
|
skip_before_filter :authenticate!
|
||||||
before_filter :require_no_authentication
|
before_filter :require_no_authentication
|
||||||
|
|
||||||
# GET /password/new
|
# GET /password/new
|
||||||
|
|
|
@ -7,4 +7,6 @@ class ApplicationController < ActionController::Base
|
||||||
|
|
||||||
# Scrub sensitive parameters from your log
|
# Scrub sensitive parameters from your log
|
||||||
# filter_parameter_logging :password
|
# filter_parameter_logging :password
|
||||||
|
|
||||||
|
before_filter :authenticate!
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
class HomeController < ApplicationController
|
class HomeController < ApplicationController
|
||||||
before_filter :authenticate!
|
|
||||||
|
|
||||||
def index
|
def index
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue