Skip to content
Snippets Groups Projects
Commit b4954c0c authored by Tom Needham's avatar Tom Needham
Browse files

Correct spelling of 'Authorization'

parent 358671ac
No related branches found
No related tags found
No related merge requests found
...@@ -94,7 +94,7 @@ class OC_API { ...@@ -94,7 +94,7 @@ class OC_API {
$response = new OC_OCS_Result(null, 998, 'Api method not found'); $response = new OC_OCS_Result(null, 998, 'Api method not found');
} }
} else { } else {
header('WWW-Authenticate: Basic realm="Authorisation Required"'); header('WWW-Authenticate: Basic realm="Authorization Required"');
header('HTTP/1.0 401 Unauthorized'); header('HTTP/1.0 401 Unauthorized');
$response = new OC_OCS_Result(null, 997, 'Unauthorised'); $response = new OC_OCS_Result(null, 997, 'Unauthorised');
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment