summaryrefslogtreecommitdiff
path: root/app/Api/Auth.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Api/Auth.php')
-rw-r--r--app/Api/Auth.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Api/Auth.php b/app/Api/Auth.php
index 6c6e1ebe..1cc6627f 100644
--- a/app/Api/Auth.php
+++ b/app/Api/Auth.php
@@ -2,7 +2,7 @@
namespace Kanboard\Api;
-use JsonRPC\AuthenticationFailure;
+use JsonRPC\Exception\AuthenticationFailureException;
/**
* Base class
@@ -32,7 +32,7 @@ class Auth extends Base
$this->checkProcedurePermission(false, $method);
} else {
$this->logger->error('API authentication failure for '.$username);
- throw new AuthenticationFailure('Wrong credentials');
+ throw new AuthenticationFailureException('Wrong credentials');
}
}