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:
Sam Saffron
2020-04-08 16:33:50 +10:00
parent 0375a5ac0b
commit b824898f61
3 changed files with 36 additions and 1 deletions

View File

@ -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