Twitter-compatible API - added missing double quotes to WWW-Authenticate header

darcs-hash:20080718185053-ca946-457b1ce5261abeb067bbbaba43b707ad4751aeef.gz
This commit is contained in:
zach 2008-07-18 14:50:53 -04:00
parent 7853df51ce
commit cebbff432a
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ class ApiAction extends Action {
if (!isset($_SERVER['PHP_AUTH_USER'])) {
# 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!
common_show_basic_auth_error();