This commit is contained in:
parent
7f7142bcf4
commit
ececc6235c
@ -30,12 +30,12 @@ class User extends Model {
|
|||||||
$_SESSION['user'] = $this;
|
$_SESSION['user'] = $this;
|
||||||
$_SESSION['userid'] = $this->id;
|
$_SESSION['userid'] = $this->id;
|
||||||
|
|
||||||
|
var_dump("before save: ".$_SESSION['user']->active);
|
||||||
|
|
||||||
$_SESSION['user']->save();
|
$_SESSION['user']->save();
|
||||||
|
|
||||||
var_dump($_SESSION['user']->active);
|
var_dump($_SESSION['user']->active);
|
||||||
exit();
|
exit("bye");
|
||||||
}
|
}
|
||||||
|
|
||||||
function logout()
|
function logout()
|
||||||
|
Reference in New Issue
Block a user