mirror of
https://github.com/heartcombo/devise.git
synced 2026-04-28 03:00:29 -04:00
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).
This commit is contained in:
@@ -7,4 +7,6 @@ class ApplicationController < ActionController::Base
|
||||
|
||||
# Scrub sensitive parameters from your log
|
||||
filter_parameter_logging :password
|
||||
|
||||
before_filter :current_user
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user