This commit is contained in:
parent
6f0f8041c0
commit
cd0a3005d2
@ -30,10 +30,12 @@ class User extends Model {
|
|||||||
$_SESSION['user'] = $this;
|
$_SESSION['user'] = $this;
|
||||||
$_SESSION['userid'] = $this->id;
|
$_SESSION['userid'] = $this->id;
|
||||||
|
|
||||||
var_dump($_SESSION['user']);
|
|
||||||
exit();
|
|
||||||
|
|
||||||
$_SESSION['user']->save();
|
$_SESSION['user']->save();
|
||||||
|
|
||||||
|
var_dump($_SESSION['user']);
|
||||||
|
exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
function logout()
|
function logout()
|
||||||
|
Reference in New Issue
Block a user