diff --git a/appinfo/app.php b/appinfo/app.php index da0a97da2..7f2865bd8 100644 --- a/appinfo/app.php +++ b/appinfo/app.php @@ -156,7 +156,7 @@ $multipleUserBackEnds = $samlSettings->allowMultipleUserBackEnds(); $configuredIdps = $samlSettings->getListOfIdps(); -$showLoginOptions = $multipleUserBackEnds || count($configuredIdps) > 1; +$showLoginOptions = ($multipleUserBackEnds || count($configuredIdps) > 1) && $type === 'saml'; if ($redirectSituation === true && $showLoginOptions) { try {