mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
* Setup: some authtication types eg. Cas were not shown in setup
This commit is contained in:
parent
1ce17f4656
commit
b381843d01
@ -454,7 +454,7 @@ class setup_cmd_config extends setup_cmd
|
|||||||
foreach(scandir(EGW_INCLUDE_ROOT.'/api/src/Auth') as $file)
|
foreach(scandir(EGW_INCLUDE_ROOT.'/api/src/Auth') as $file)
|
||||||
{
|
{
|
||||||
$matches = null;
|
$matches = null;
|
||||||
if (preg_match('/^([a-z0-9]+)\.php$/', $file, $matches) &&
|
if (preg_match('/^([a-z0-9]+)\.php$/i', $file, $matches) &&
|
||||||
!isset($auth_types[strtolower($matches[1])]) && $matches[1] != 'Backend')
|
!isset($auth_types[strtolower($matches[1])]) && $matches[1] != 'Backend')
|
||||||
{
|
{
|
||||||
$auth_types[strtolower($matches[1])] = $matches[1];
|
$auth_types[strtolower($matches[1])] = $matches[1];
|
||||||
|
Loading…
Reference in New Issue
Block a user