diff options
Diffstat (limited to 'lib/apiauth.php')
-rw-r--r-- | lib/apiauth.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/apiauth.php b/lib/apiauth.php index efadffc13..d6ad7e021 100644 --- a/lib/apiauth.php +++ b/lib/apiauth.php @@ -91,6 +91,7 @@ class ApiAuthAction extends ApiAction if ($this->isReadOnly($args) == false) { if ($this->access != self::READ_WRITE) { + // TRANS: Client error 401. $msg = _('API resource requires read-write access, ' . 'but you only have read access.'); $this->clientError($msg, 401, $this->format); |