From 31a968f6c4bb01dc920ddcbd09be109fce5d23fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Herre=C3=B1o?= <19491-jedihe@users.noreply.drupalcode.org> Date: Wed, 8 Nov 2023 17:25:29 +0100 Subject: [PATCH] Issue #3123959 by jedihe: Using multiple auth providers results in all auth data being wiped for a user [simplesamlphp_auth] --- simplesamlphp_auth.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simplesamlphp_auth.module b/simplesamlphp_auth.module index d7e07e2..43fc5c9 100644 --- a/simplesamlphp_auth.module +++ b/simplesamlphp_auth.module @@ -215,6 +215,6 @@ function simplesamlphp_auth_user_form_submit($form, FormStateInterface $form_sta } // Remove this user from the ExternalAuth authmap table. else { - $authmap->delete($form_state->getValue('uid')); + $authmap->delete($form_state->getValue('uid'), 'simplesamlphp_auth'); } } -- GitLab