From d2e05d5a41bd915dee2125eaac132aebec956841 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sun, 28 Aug 2016 10:59:31 +0200 Subject: [PATCH] fix Scrutinizer bug: Api\Auth\Exception does not exist --- api/src/Auth/Ads.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Auth/Ads.php b/api/src/Auth/Ads.php index 43e31669aa..18413bd584 100644 --- a/api/src/Auth/Ads.php +++ b/api/src/Auth/Ads.php @@ -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)); 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 $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