From 5154237d31aff60b6accfda114657596dd85f05f Mon Sep 17 00:00:00 2001 From: Horus3 Date: Mon, 22 Sep 2014 19:57:01 +0200 Subject: vfsdata class --- public_html/class/vfsuser.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'public_html/class/vfsuser.php') 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; } -- cgit v1.2.3