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