Correct spelling of 'Authorization'
This commit is contained in:
parent
358671ac1d
commit
b4954c0c89
1 changed files with 1 additions and 1 deletions
|
@ -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');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue