Update JsonRPC library

This commit is contained in:
Frederic Guillot
2016-04-26 22:55:56 -04:00
parent 36bdcf193b
commit 1936a74cb3
6 changed files with 19 additions and 19 deletions

View File

@@ -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');
}
}

View File

@@ -2,7 +2,7 @@
namespace Kanboard\Api;
use JsonRPC\AccessDeniedException;
use JsonRPC\Exception\AccessDeniedException;
/**
* Base class