mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-24 11:51:43 +02:00
* Setup: fixed fatal error "Cannot redeclare auth_type()", when there is a validation error on saving configuration
This commit is contained in:
parent
e0b9fadfdd
commit
d5cb4112b5
@ -168,7 +168,7 @@ function sql_passwdhashes($config, $return_hashes=false, &$securest=null)
|
|||||||
* @param array $config
|
* @param array $config
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
function auth_type($config)
|
function auth_types($config)
|
||||||
{
|
{
|
||||||
return _options_from(setup_cmd_config::auth_types(),$config['auth_type']);
|
return _options_from(setup_cmd_config::auth_types(),$config['auth_type']);
|
||||||
}
|
}
|
||||||
|
@ -127,7 +127,7 @@
|
|||||||
<td>{lang_Select_which_type_of_authentication_you_are_using}:</td>
|
<td>{lang_Select_which_type_of_authentication_you_are_using}:</td>
|
||||||
<td>
|
<td>
|
||||||
<select name="newsettings[auth_type]">
|
<select name="newsettings[auth_type]">
|
||||||
{hook_auth_type}
|
{hook_auth_types}
|
||||||
</select>
|
</select>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user