mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-11 06:14:26 +02:00
App->contact is now removed
This commit is contained in:
parent
f60d60e997
commit
30aad250df
16 changed files with 65 additions and 54 deletions
|
@ -768,7 +768,7 @@ class Profile
|
|||
|
||||
Session::setVisitorsContacts();
|
||||
|
||||
$a->contact = $visitor;
|
||||
$a->contact_id = $visitor['id'];
|
||||
|
||||
Logger::info('Authenticated visitor', ['url' => $visitor['url']]);
|
||||
|
||||
|
@ -829,7 +829,7 @@ class Profile
|
|||
*/
|
||||
Hook::callAll('magic_auth_success', $arr);
|
||||
|
||||
$a->contact = $arr['visitor'];
|
||||
$a->contact_id = $arr['visitor']['id'];
|
||||
|
||||
info(DI::l10n()->t('OpenWebAuth: %1$s welcomes %2$s', DI::baseUrl()->getHostname(), $visitor['name']));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue