summaryrefslogtreecommitdiffstats
path: root/lib/api.php
diff options
context:
space:
mode:
authortomneedham <needham.thomas@gmail.com>2013-01-17 16:30:14 +0000
committertomneedham <needham.thomas@gmail.com>2013-01-17 16:30:14 +0000
commitb4954c0c89a39e82ccada459337392d4d38aba5c (patch)
treefa2dc3b125e6c472112268c5f886742f679222d9 /lib/api.php
parent358671ac1d55f8304b1c1aae285e497ed512ce0c (diff)
downloadnextcloud-server-b4954c0c89a39e82ccada459337392d4d38aba5c.tar.gz
nextcloud-server-b4954c0c89a39e82ccada459337392d4d38aba5c.zip
Correct spelling of 'Authorization'
Diffstat (limited to 'lib/api.php')
-rw-r--r--lib/api.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api.php b/lib/api.php
index e0097a7abf8..7d8f6878076 100644
--- a/lib/api.php
+++ b/lib/api.php
@@ -94,7 +94,7 @@ class OC_API {
$response = new OC_OCS_Result(null, 998, 'Api method not found');
}
} else {
- header('WWW-Authenticate: Basic realm="Authorisation Required"');
+ header('WWW-Authenticate: Basic realm="Authorization Required"');
header('HTTP/1.0 401 Unauthorized');
$response = new OC_OCS_Result(null, 997, 'Unauthorised');
}