aboutsummaryrefslogtreecommitdiff
path: root/app/class/controllerconnect.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2019-08-09 00:17:08 +0200
committervincent-peugnet <v.peugnet@free.fr>2019-08-09 00:17:08 +0200
commit87ca0b50e624feacd2caff2057c5ebfb62a7977f (patch)
treeaf43a7da5414033813f414877e36a017ec56121d /app/class/controllerconnect.php
parentef18c5f848a5e4d1239bdc1d89e0cc9f75a10512 (diff)
downloadwcms-87ca0b50e624feacd2caff2057c5ebfb62a7977f.tar.gz
wcms-87ca0b50e624feacd2caff2057c5ebfb62a7977f.zip
Users have now a connections counter
Diffstat (limited to 'app/class/controllerconnect.php')
-rw-r--r--app/class/controllerconnect.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/class/controllerconnect.php b/app/class/controllerconnect.php
index fb43d4c..303abf2 100644
--- a/app/class/controllerconnect.php
+++ b/app/class/controllerconnect.php
@@ -37,6 +37,7 @@ class Controllerconnect extends Controller
if (isset($_POST['pass'])) {
$this->user = $this->usermanager->passwordcheck($_POST['pass']);
if($this->user != false) {
+ $this->usermanager->connectcounter($this->user);
$this->usermanager->writesession($this->user);
$_SESSION['workspace']['showleftpanel'] = true;
$_SESSION['workspace']['showrightpanel'] = false;