mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
fix Scrutinizer bug: Api\Auth\Exception does not exist
This commit is contained in:
parent
b400f38b75
commit
d2e05d5a41
@ -243,7 +243,7 @@ class Ads implements Backend
|
|||||||
//error_log(__METHOD__."('$old_passwd', '$new_passwd', $account_id) admin=$admin adldap->user()->password('$username', '$new_passwd') returned ".array2string($ret));
|
//error_log(__METHOD__."('$old_passwd', '$new_passwd', $account_id) admin=$admin adldap->user()->password('$username', '$new_passwd') returned ".array2string($ret));
|
||||||
return $ret;
|
return $ret;
|
||||||
}
|
}
|
||||||
catch (Exception $e) {
|
catch (\Exception $e) {
|
||||||
// as we cant detect what the problem is, we do a password strength check and throw it's message, if it fails
|
// as we cant detect what the problem is, we do a password strength check and throw it's message, if it fails
|
||||||
$error = Api\Auth::crackcheck($new_passwd,
|
$error = Api\Auth::crackcheck($new_passwd,
|
||||||
// if admin has nothing configured use windows default of 3 char classes, 7 chars min and name-part-check
|
// if admin has nothing configured use windows default of 3 char classes, 7 chars min and name-part-check
|
||||||
|
Loading…
Reference in New Issue
Block a user