mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
skip mail-accounts is user editable check for password change
some stored credentials are not event linked to mail accounts or might belong to by user not editable accounts like smime on a mail account for all
This commit is contained in:
parent
80e96fce6c
commit
df1909d8c1
@ -723,7 +723,7 @@ class Credentials
|
||||
|
||||
foreach(self::get_db()->select(self::TABLE, self::TABLE.'.*', array(
|
||||
'account_id' => $data['account_id']
|
||||
),__LINE__, __FILE__, false, '', self::APP, 0, self::USER_EDITABLE_JOIN.self::get_db()->quote(true, 'bool')) as $row)
|
||||
),__LINE__, __FILE__, false, '', self::APP) as $row)
|
||||
{
|
||||
$password = self::decrypt($row, self::isUser($row['cred_pw_enc']) ? $data['old_passwd'] : null);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user