Skip to content

Commit 0252b39

Browse files
authored
Merge pull request #639 from nextcloud/fix/noid/env-mode-no-chooser
2 parents 7c90ae6 + 52ac9ef commit 0252b39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

appinfo/app.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@
156156

157157
$multipleUserBackEnds = $samlSettings->allowMultipleUserBackEnds();
158158
$configuredIdps = $samlSettings->getListOfIdps();
159-
$showLoginOptions = $multipleUserBackEnds || count($configuredIdps) > 1;
159+
$showLoginOptions = ($multipleUserBackEnds || count($configuredIdps) > 1) && $type === 'saml';
160160

161161
if ($redirectSituation === true && $showLoginOptions) {
162162
try {

0 commit comments

Comments
 (0)