mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
Update patch-1
This commit is contained in:
parent
80b2240ef0
commit
6eeb9e4b7d
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ class Devise::OmniauthCallbacksController < DeviseController
|
|||
end
|
||||
|
||||
def failure
|
||||
set_flash_message :alert, :failure, :kind => OmniAuth::Utils.camelize(failed_strategy.name), :reason => failure_message
|
||||
set_flash_message :alert, :failure, :kind => OmniAuth::Utils.camelize(failed_strategy.name), :reason => failure_message
|
||||
redirect_to after_omniauth_failure_path_for(resource_name)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue