diff --git a/simplesamlphp_auth.module b/simplesamlphp_auth.module index d7e07e283e7c8b90670ca71fc56fed280d6a3366..43fc5c9a2d1768903a3ce96236863356dd6a7453 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'); } }