forked from extern/egroupware
make running / generating SAML/Shibboleth config depending on an IPD configured
This commit is contained in:
parent
1fd3e3e34a
commit
4d2d14dd99
@ -194,7 +194,7 @@ class Saml implements BackendSSO
|
|||||||
return substr($key, 0, 5) === 'saml_' || $key === 'auth_type';
|
return substr($key, 0, 5) === 'saml_' || $key === 'auth_type';
|
||||||
}, ARRAY_FILTER_USE_BOTH), JSON_UNESCAPED_SLASHES));*/
|
}, ARRAY_FILTER_USE_BOTH), JSON_UNESCAPED_SLASHES));*/
|
||||||
|
|
||||||
if ($newsettings['auth_type'] !== 'saml') return; // nothing to do
|
if (empty($config['saml_idp'])) return; // nothing to do, if not idp defined
|
||||||
|
|
||||||
if (file_exists($config['files_dir'].'/saml/config.php'))
|
if (file_exists($config['files_dir'].'/saml/config.php'))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user