@@ -58,9 +58,9 @@ |
||
| 58 | 58 | * @param bool $render |
| 59 | 59 | */ |
| 60 | 60 | public static function showExceptionInView(Template $view, |
| 61 | - Exception $e, |
|
| 62 | - $replace = null, |
|
| 63 | - $render = true) |
|
| 61 | + Exception $e, |
|
| 62 | + $replace = null, |
|
| 63 | + $render = true) |
|
| 64 | 64 | { |
| 65 | 65 | switch (get_class($e)) { |
| 66 | 66 | case UpdatedMasterPassException::class: |
@@ -322,7 +322,7 @@ |
||
| 322 | 322 | $tokenUserId = $this->authTokenService->getById($id)->getUserId(); |
| 323 | 323 | |
| 324 | 324 | if (!$this->acl->checkUserAccess(Acl::AUTHTOKEN_EDIT) || !$this->authTokenOnlyUser($tokenUserId)) { |
| 325 | - return $this->returnJsonResponse(JsonResponse::JSON_ERROR, __u('You don\'t have permission to do this operation')); |
|
| 325 | + return $this->returnJsonResponse(JsonResponse::JSON_ERROR, __u('You don\'t have permission to do this operation')); |
|
| 326 | 326 | } |
| 327 | 327 | |
| 328 | 328 | $form = new AuthTokenForm($this->dic, $id); |