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:
parent
1ead4c9d59
commit
2cfea69ecb
1 changed files with 2 additions and 2 deletions
4
core.php
4
core.php
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue