diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2020-05-15 20:05:26 +0200 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2020-05-15 20:05:26 +0200 |
commit | ded1b2a19ee238543d561b6f26312458d2a43974 (patch) | |
tree | b5569c95266ad7482298a7feffb6a3be24a19844 /app/class/Session.php | |
parent | 3f69df3b93510f2704f3af9d54b9bf3b34d0e6bb (diff) | |
download | wcms-ded1b2a19ee238543d561b6f26312458d2a43974.tar.gz wcms-ded1b2a19ee238543d561b6f26312458d2a43974.zip |
new cookie session system
composer require JWT
user stores sessions
Diffstat (limited to 'app/class/Session.php')
-rw-r--r-- | app/class/Session.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/class/Session.php b/app/class/Session.php index 64b6b26..5228237 100644 --- a/app/class/Session.php +++ b/app/class/Session.php @@ -12,6 +12,7 @@ class Session extends Item public $showrightpanel = false; public $homedisplay = 'list'; public $mediadisplay = 'list'; + public $wsession = ''; public function __construct($datas = []) { @@ -78,4 +79,9 @@ class Session extends Item $this->mediadisplay = $mediadisplay; } } + + public function setwsession($wsession) + { + $this->wsession = $wsession; + } } |