mirror of
https://github.com/friendica/friendica
synced 2025-04-26 15:10:11 +00:00
Merge branch 'pull'
This commit is contained in:
commit
ae5e5bf1e4
6 changed files with 32 additions and 12 deletions
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue