mirror of
https://github.com/friendica/friendica
synced 2024-12-23 00:40:15 +00:00
spelling: authentication
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
9c86578755
commit
4fc503d352
5 changed files with 5 additions and 5 deletions
|
@ -1378,7 +1378,7 @@ Version 2018.05 (2018-06-01)
|
||||||
Fixed a bug that made edited mentions and hashtags plaintext [annando]
|
Fixed a bug that made edited mentions and hashtags plaintext [annando]
|
||||||
Fixed a bug that caused the /display page to receive constandly new updates [annando]
|
Fixed a bug that caused the /display page to receive constandly new updates [annando]
|
||||||
Fixed wrong version of a dependency preventing the usage of PHP 5.6 [MrPetovan]
|
Fixed wrong version of a dependency preventing the usage of PHP 5.6 [MrPetovan]
|
||||||
Fixed a bug in OpenID authentification [Quix0r]
|
Fixed a bug in OpenID authentication [Quix0r]
|
||||||
Fixed a bug in the item deletion [annando]
|
Fixed a bug in the item deletion [annando]
|
||||||
Fixed a bug that prevented public comments from being distributed [annando]
|
Fixed a bug that prevented public comments from being distributed [annando]
|
||||||
Fixed a bug that caused empty profile pictures for public contacts [annando]
|
Fixed a bug that caused empty profile pictures for public contacts [annando]
|
||||||
|
|
|
@ -171,7 +171,7 @@ class Redir extends \Friendica\BaseModule
|
||||||
|
|
||||||
// On a local instance we have to check if the local user has already authenticated
|
// On a local instance we have to check if the local user has already authenticated
|
||||||
// with the local contact. Otherwise, the local user would ask the local contact
|
// with the local contact. Otherwise, the local user would ask the local contact
|
||||||
// for authentification everytime he/she is visiting a profile page of the local
|
// for authentication everytime he/she is visiting a profile page of the local
|
||||||
// contact.
|
// contact.
|
||||||
if (($host == $remotehost) && ($this->session->getRemoteContactID($this->session->get('visitor_visiting')) == $this->session->get('visitor_id'))) {
|
if (($host == $remotehost) && ($this->session->getRemoteContactID($this->session->get('visitor_visiting')) == $this->session->get('visitor_id'))) {
|
||||||
// Remote user is already authenticated.
|
// Remote user is already authenticated.
|
||||||
|
|
|
@ -1181,7 +1181,7 @@ class Receiver
|
||||||
self::switchContacts($receivers, $actor);
|
self::switchContacts($receivers, $actor);
|
||||||
|
|
||||||
// "birdsitelive" is a service that mirrors tweets into the fediverse
|
// "birdsitelive" is a service that mirrors tweets into the fediverse
|
||||||
// These posts can be fetched without authentification, but are not marked as public
|
// These posts can be fetched without authentication, but are not marked as public
|
||||||
// We treat them as unlisted posts to be able to handle them.
|
// We treat them as unlisted posts to be able to handle them.
|
||||||
if (empty($receivers) && $fetch_unlisted && Contact::isPlatform($actor, 'birdsitelive')) {
|
if (empty($receivers) && $fetch_unlisted && Contact::isPlatform($actor, 'birdsitelive')) {
|
||||||
$receivers[0] = ['uid' => 0, 'type' => self::TARGET_GLOBAL];
|
$receivers[0] = ['uid' => 0, 'type' => self::TARGET_GLOBAL];
|
||||||
|
|
|
@ -31,7 +31,7 @@ use Friendica\Network\HTTPException\UnauthorizedException;
|
||||||
use Friendica\Util\DateTimeFormat;
|
use Friendica\Util\DateTimeFormat;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Authentification via the basic auth method
|
* Authentication via the basic auth method
|
||||||
*/
|
*/
|
||||||
class BasicAuth
|
class BasicAuth
|
||||||
{
|
{
|
||||||
|
|
|
@ -303,7 +303,7 @@ class ExAuth
|
||||||
|
|
||||||
// If the hostnames doesn't match or there is some failure, we try to check remotely
|
// If the hostnames doesn't match or there is some failure, we try to check remotely
|
||||||
if ($Error && !$this->checkCredentials($aCommand[2], $aCommand[1], $aCommand[3], true)) {
|
if ($Error && !$this->checkCredentials($aCommand[2], $aCommand[1], $aCommand[3], true)) {
|
||||||
$this->writeLog(LOG_WARNING, 'authentification failed for user ' . $sUser . '@' . $aCommand[2]);
|
$this->writeLog(LOG_WARNING, 'authentication failed for user ' . $sUser . '@' . $aCommand[2]);
|
||||||
fwrite(STDOUT, pack('nn', 2, 0));
|
fwrite(STDOUT, pack('nn', 2, 0));
|
||||||
} else {
|
} else {
|
||||||
$this->writeLog(LOG_NOTICE, 'authenticated user ' . $sUser . '@' . $aCommand[2]);
|
$this->writeLog(LOG_NOTICE, 'authenticated user ' . $sUser . '@' . $aCommand[2]);
|
||||||
|
|
Loading…
Reference in a new issue