diff --git a/app/controllers/user_sessions_controller.rb b/app/controllers/user_sessions_controller.rb index 38a8496c3bc..e81d7e125e6 100644 --- a/app/controllers/user_sessions_controller.rb +++ b/app/controllers/user_sessions_controller.rb @@ -48,6 +48,7 @@ def callback assign_flash_and_session(result) return redirect_back_or_to result[:path] if result[:back] + redirect_to result[:path] end