X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FSecurity%2FBasicAuth.php;h=f2154ae8a4374da15fa121719a0f7af660eb442d;hb=5d92713a8eb8467385387fb2d2a3ac20f6eda06c;hp=070c6500d3582a7104c66650193359e5ec34bb31;hpb=ebd4f59d02a503defef22202bbc3a9d0b1be4655;p=friendica.git diff --git a/src/Security/BasicAuth.php b/src/Security/BasicAuth.php index 070c6500d3..f2154ae8a4 100644 --- a/src/Security/BasicAuth.php +++ b/src/Security/BasicAuth.php @@ -184,7 +184,7 @@ class BasicAuth Session::set('allow_api', true); - Hook::callAll('logged_in', $a->user); + Hook::callAll('logged_in', $record); if (Session::get('allow_api')) { self::$current_user_id = local_user();