1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-12-26 02:55:02 +00:00

Bugfix: Missed a conversion to the new $env object

This commit is contained in:
Starbeamrainbowlabs 2015-09-22 14:22:34 +01:00
parent 1ead4c9d59
commit 2cfea69ecb

View file

@ -36,8 +36,8 @@ if(!isset($_SESSION[$settings->sessionprefix . "-user"]) and
else
{
$env->user = $_SESSION[$settings->sessionprefix . "-user"];
$pass = $_SESSION[$settings->sessionprefix . "-pass"];
if($settings->users[$user] == $pass)
$env->pass = $_SESSION[$settings->sessionprefix . "-pass"];
if($settings->users[$env->user] == $env->pass)
{
// The user is logged in
$env->is_logged_in = true;