mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 01:55:46 +08:00
FIX: redirect to sso_destination_url after account activation
This commit is contained in:
@ -77,6 +77,7 @@ class SessionController < ApplicationController
|
||||
end
|
||||
else
|
||||
session[:sso_payload] = request.query_string
|
||||
cookies[:sso_destination_url] = sso.to_url(sso.return_sso_url)
|
||||
redirect_to path('/login')
|
||||
end
|
||||
else
|
||||
|
Reference in New Issue
Block a user