mirror of
https://github.com/netzbegruenung/user_saml.git
synced 2024-05-03 01:24:52 +02:00
Merge pull request #639 from nextcloud/fix/noid/env-mode-no-chooser
This commit is contained in:
commit
0252b399e6
|
@ -156,7 +156,7 @@ if ($useSamlForDesktopClients === '1') {
|
|||
|
||||
$multipleUserBackEnds = $samlSettings->allowMultipleUserBackEnds();
|
||||
$configuredIdps = $samlSettings->getListOfIdps();
|
||||
$showLoginOptions = $multipleUserBackEnds || count($configuredIdps) > 1;
|
||||
$showLoginOptions = ($multipleUserBackEnds || count($configuredIdps) > 1) && $type === 'saml';
|
||||
|
||||
if ($redirectSituation === true && $showLoginOptions) {
|
||||
try {
|
||||
|
|
Loading…
Reference in a new issue