|
@@ -322,7 +322,7 @@ |
|
|
block discarded – undo |
|
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); |
Please login to merge, or discard this patch.