Merge branch 'pull'

This commit is contained in:
friendica 2012-04-01 01:03:05 -07:00
commit ae5e5bf1e4
6 changed files with 32 additions and 12 deletions

View file

@ -83,7 +83,7 @@
$record = $r[0];
} else {
logger('API_login failure: ' . print_r($_SERVER,true), LOGGER_DEBUG);
header('WWW-Authenticate: Basic realm="Friendika"');
header('WWW-Authenticate: Basic realm="Friendica"');
header('HTTP/1.0 401 Unauthorized');
die('This api requires login');
}