diff options
author | Connor Shea <connor.james.shea@gmail.com> | 2016-07-25 20:40:40 +0300 |
---|---|---|
committer | Connor Shea <connor.james.shea@gmail.com> | 2016-08-03 20:50:38 +0300 |
commit | 602fe111912bac119e752b0dfa3b4b3cd81585ff (patch) | |
tree | 7f39c59bb7ca285482bc9c57450394910dc761c3 /app/controllers/sessions_controller.rb | |
parent | e8c6f119cd7cf519db3ad1622786aad3156324d4 (diff) |
Remove provider path, replace with dynamic path.
Diffstat (limited to 'app/controllers/sessions_controller.rb')
-rw-r--r-- | app/controllers/sessions_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/sessions_controller.rb b/app/controllers/sessions_controller.rb index 25598e065b8..5d7ecfeacf4 100644 --- a/app/controllers/sessions_controller.rb +++ b/app/controllers/sessions_controller.rb @@ -101,7 +101,7 @@ class SessionsController < Devise::SessionsController # Prevent alert from popping up on the first page shown after authentication. flash[:alert] = nil - redirect_to provider_path(provider) + redirect_to omniauth_authorize_path(:user, provider) end def valid_otp_attempt?(user) |