mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 08:39:07 +01:00
fix unable to (re-)activate account
This commit is contained in:
parent
9e3fdf52cf
commit
6ba3dbbd33
@ -174,7 +174,7 @@ class admin_account
|
||||
'changepassword', 'anonymous', 'mustchangepassword',
|
||||
'account_passwd', 'account_passwd_2',
|
||||
'account_primary_group',
|
||||
'account_expires',
|
||||
'account_expires', 'account_status',
|
||||
'homedirectory', 'loginshell',
|
||||
'requested', 'requested_email', 'comment', // admin_cmd documentation (EPL)
|
||||
) as $c_name => $a_name)
|
||||
@ -194,7 +194,8 @@ class admin_account
|
||||
switch($a_name)
|
||||
{
|
||||
case 'account_expires':
|
||||
$account[$a_name] = $content[$c_name] ? $content[$c_name] :
|
||||
case 'account_status':
|
||||
$account['account_expires'] = $content['account_expires'] ? $content['account_expires'] :
|
||||
($content['account_status'] ? 'never' : 'already');
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user