summaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
authorSimon Rettberg2024-01-17 11:32:37 +0100
committerSimon Rettberg2024-01-17 11:32:37 +0100
commit3157b9ee87cffa4f934e8a57c5d9d07af002f0a3 (patch)
tree44f12b44a88440350cfbd672c96490a8551fbbc5 /inc
parent[vmstore] Restore warning on unconfigured vmstore (diff)
downloadslx-admin-3157b9ee87cffa4f934e8a57c5d9d07af002f0a3.tar.gz
slx-admin-3157b9ee87cffa4f934e8a57c5d9d07af002f0a3.tar.xz
slx-admin-3157b9ee87cffa4f934e8a57c5d9d07af002f0a3.zip
Fix type errors
Diffstat (limited to 'inc')
-rw-r--r--inc/user.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/user.inc.php b/inc/user.inc.php
index 01b4d210..9ef27cd0 100644
--- a/inc/user.inc.php
+++ b/inc/user.inc.php
@@ -157,7 +157,7 @@ class User
return false;
if (!Crypto::verify($pass, $ret['passwd']))
return false;
- Session::create($ret['passwd'], $ret['userid'], $fixedIp);
+ Session::create($ret['passwd'], (int)$ret['userid'], $fixedIp);
self::generateToken($ret['passwd']);
return true;
}