mirror of
https://github.com/discourse/discourse.git
synced 2025-05-29 01:31:35 +08:00
FIX: respect automatic group membership when sso changes email
Previously we were only updating group membership when a user record was first created in an SSO setting. This corrects it so we also update it if SSO changes the email
This commit is contained in:
@ -30,6 +30,10 @@ module IntegrationHelpers
|
||||
user
|
||||
end
|
||||
|
||||
def sign_out
|
||||
delete "/session"
|
||||
end
|
||||
|
||||
def read_secure_session
|
||||
SecureSession.new(session[:secure_session_id])
|
||||
end
|
||||
|
Reference in New Issue
Block a user