diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2020-05-25 17:05:08 +0200 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2020-05-25 17:05:08 +0200 |
commit | 55fc826f9827dd86427534c11594c0d9c4f0b8d1 (patch) | |
tree | 173075f643de38d6ac79dc86cd4b1099f99a3eaf /app/class/Controllerconnect.php | |
parent | bab3d969f6ab1846d818e4ef4d4f777c13575d88 (diff) | |
download | wcms-55fc826f9827dd86427534c11594c0d9c4f0b8d1.tar.gz wcms-55fc826f9827dd86427534c11594c0d9c4f0b8d1.zip |
add /login and /logout close #117
Diffstat (limited to 'app/class/Controllerconnect.php')
-rw-r--r-- | app/class/Controllerconnect.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/class/Controllerconnect.php b/app/class/Controllerconnect.php index 4790c63..bd9f9a3 100644 --- a/app/class/Controllerconnect.php +++ b/app/class/Controllerconnect.php @@ -54,7 +54,7 @@ class Controllerconnect extends Controller $this->usermanager->add($this->user); $this->session->addtosession('user', $this->user->id()); - if ($_POST['rememberme']) { + if (!empty($_POST['rememberme'])) { if ($this->user->cookie() > 0) { try { $this->modelconnect = new Modelconnect(); |