mirror of
https://github.com/netzbegruenung/user_saml.git
synced 2024-05-02 17:14:53 +02:00
No SAML config chooser on env mode
- in env mode, only one provider is supported - choosing any provider would trigger env mode mechanis anyway Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
7c90ae6ca2
commit
52ac9efe56
|
@ -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