aboutsummaryrefslogtreecommitdiffstats
path: root/include/security.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-02-18 13:29:15 +0000
committerMario <mario@mariovavti.com>2021-02-18 13:29:15 +0000
commit65068479b9a7afd0d210550bf54fb3b19ed1fbf2 (patch)
tree0224c847e56be4ae6a25029fbe1c0537815ef128 /include/security.php
parent92f3c5ae2191dbffcc327dd1068e692467dc24dd (diff)
downloadvolse-hubzilla-65068479b9a7afd0d210550bf54fb3b19ed1fbf2.tar.gz
volse-hubzilla-65068479b9a7afd0d210550bf54fb3b19ed1fbf2.tar.bz2
volse-hubzilla-65068479b9a7afd0d210550bf54fb3b19ed1fbf2.zip
php8 warnings
Diffstat (limited to 'include/security.php')
-rw-r--r--include/security.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/security.php b/include/security.php
index 40905925f..066b1dcf4 100644
--- a/include/security.php
+++ b/include/security.php
@@ -18,6 +18,7 @@ function authenticate_success($user_record, $channel = null, $login_initial = fa
$_SESSION['addr'] = $_SERVER['REMOTE_ADDR'];
$lastlog_updated = false;
+ $uid_to_load = null;
if (x($user_record, 'account_id')) {
App::$account = $user_record;