Added support for custom session controllers
This commit is contained in:
parent
e1154ed90f
commit
b335de2cb7
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ module Devise
|
|||
|
||||
protected
|
||||
def valid_controller?
|
||||
params[:controller] == 'devise/sessions'
|
||||
params[:controller].include?('sessions')
|
||||
end
|
||||
|
||||
def valid_params?
|
||||
|
|
Loading…
Reference in a new issue