undebug
All checks were successful
Build and push / Pulling repo on server (push) Successful in 3s
All checks were successful
Build and push / Pulling repo on server (push) Successful in 3s
This commit is contained in:
@ -26,10 +26,11 @@ class User extends Model {
|
||||
if(!$this->id) return false;
|
||||
$this->load();
|
||||
$this->last_login = $this->getDateTime();
|
||||
$this->save();
|
||||
|
||||
$_SESSION['user'] = $this;
|
||||
$_SESSION['userid'] = $this->id;
|
||||
|
||||
$_SESSION['user']->save();
|
||||
}
|
||||
|
||||
function logout()
|
||||
|
Reference in New Issue
Block a user