Merge remote-tracking branch 'upstream/develop' into receive_participation
This commit is contained in:
commit
915419ace3
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ function api_login(App $a)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (DBM::is_result($record)) {
|
if (!DBM::is_result($record)) {
|
||||||
logger('API_login failure: ' . print_r($_SERVER, true), LOGGER_DEBUG);
|
logger('API_login failure: ' . print_r($_SERVER, true), LOGGER_DEBUG);
|
||||||
header('WWW-Authenticate: Basic realm="Friendica"');
|
header('WWW-Authenticate: Basic realm="Friendica"');
|
||||||
//header('HTTP/1.0 401 Unauthorized');
|
//header('HTTP/1.0 401 Unauthorized');
|
||||||
|
|
Loading…
Reference in a new issue