summaryrefslogtreecommitdiff
path: root/public_html/class/vfsuser.php
diff options
context:
space:
mode:
Diffstat (limited to 'public_html/class/vfsuser.php')
-rw-r--r--public_html/class/vfsuser.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/public_html/class/vfsuser.php b/public_html/class/vfsuser.php
index e3767b8..c0bc83f 100644
--- a/public_html/class/vfsuser.php
+++ b/public_html/class/vfsuser.php
@@ -108,6 +108,9 @@ class vfsuser {
# set session variable to true
$_SESSION["loggedin"] = true;
+ # assign userid to the session variable
+ $_SESSION["userid"] = $this->getUserId();
+
return true;
}