-
Notifications
You must be signed in to change notification settings - Fork 81
Open
Labels
Description
Steps to reproduce
- Have a saml user that is disabled
- Try to authenticate as that user
Expected behaviour
Error message is displayed
Actual behaviour
Lines 110 to 120 in a7aabdd
| $enabled = $user->isEnabled(); | |
| if ($enabled === false) { | |
| $targetUrl = $urlGenerator->linkToRouteAbsolute( | |
| 'user_saml.SAML.genericError', | |
| [ | |
| 'message' => $l->t('This user account is disabled, please contact your administrator.') | |
| ] | |
| ); | |
| header('Location: '.$targetUrl); | |
| exit(); | |
| } |
- This code path will redirect to an error page.
- When the error page is being accessed, see step 1.
Server configuration
Master of all repos