mikuli.cz

:)
git clone https://git.sr.ht/~ashymad/mikuli.cz
Log | Files | Refs

commit 7867ae270dceb74a500e639da1f2128a3df442d3
parent b6e1eac289747e6007146611739588a0babe42a3
Author: markseu <mark2011@mayberg.se>
Date:   Sun, 13 Mar 2016 15:29:32 +0100

System update (web interface login)

Diffstat:
Msystem/plugins/webinterface.php | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/system/plugins/webinterface.php b/system/plugins/webinterface.php @@ -5,7 +5,7 @@ // Web interface plugin class YellowWebinterface { - const Version = "0.6.4"; + const Version = "0.6.5"; var $yellow; //access to API var $active; //web interface is active? (boolean) var $userLoginFailed; //web interface login failed? (boolean) @@ -677,7 +677,7 @@ class YellowUsers $location = $this->yellow->config->get("serverBase").$this->yellow->config->get("webinterfaceLocation"); $session = $this->yellow->toolbox->createHash($this->users[$email]["hash"], "sha256"); if(empty($session)) $session = "error-hash-algorithm-sha256"; - setcookie($cookieName, "$email,$session", time()+60*60*24*30*365, $location, "", $serverScheme=="https"); + setcookie($cookieName, "$email,$session", time()+60*60*24*365, $location, "", $serverScheme=="https"); } }