mirror of
https://github.com/heartcombo/devise.git
synced 2026-01-09 14:58:05 -05:00
Ensure skipping authenticate! filter in passwords and confirmations controller, and adding rails_warden as dependency.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user