Twitter-compatible API - added missing double quotes to WWW-Authenticate header
darcs-hash:20080718185053-ca946-457b1ce5261abeb067bbbaba43b707ad4751aeef.gz
This commit is contained in:
parent
7853df51ce
commit
cebbff432a
@ -53,7 +53,7 @@ class ApiAction extends Action {
|
|||||||
if (!isset($_SERVER['PHP_AUTH_USER'])) {
|
if (!isset($_SERVER['PHP_AUTH_USER'])) {
|
||||||
|
|
||||||
# This header makes basic auth go
|
# This header makes basic auth go
|
||||||
header('WWW-Authenticate: Basic realm="Laconica API');
|
header('WWW-Authenticate: Basic realm="Laconica API"');
|
||||||
|
|
||||||
# if the user hits cancel -- bam!
|
# if the user hits cancel -- bam!
|
||||||
common_show_basic_auth_error();
|
common_show_basic_auth_error();
|
||||||
|
Loading…
Reference in New Issue
Block a user