mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:42 +01: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
|
||||
* @return string
|
||||
*/
|
||||
function auth_type($config)
|
||||
function auth_types($config)
|
||||
{
|
||||
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>
|
||||
<select name="newsettings[auth_type]">
|
||||
{hook_auth_type}
|
||||
{hook_auth_types}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
Loading…
Reference in New Issue
Block a user