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
|
||||
|
||||
http://github.com/hassox/warden
|
||||
http://github.com/hassox/rails_warden
|
||||
|
||||
== License
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
class ConfirmationsController < ApplicationController
|
||||
skip_before_filter :authenticate!
|
||||
before_filter :require_no_authentication
|
||||
|
||||
# GET /confirmation/new
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
class PasswordsController < ApplicationController
|
||||
skip_before_filter :authenticate!
|
||||
before_filter :require_no_authentication
|
||||
|
||||
# GET /password/new
|
||||
|
|
|
@ -7,4 +7,6 @@ class ApplicationController < ActionController::Base
|
|||
|
||||
# Scrub sensitive parameters from your log
|
||||
# filter_parameter_logging :password
|
||||
|
||||
before_filter :authenticate!
|
||||
end
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
class HomeController < ApplicationController
|
||||
before_filter :authenticate!
|
||||
|
||||
def index
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue