potential fix for active is required
All checks were successful
Build and push / Pulling repo on server (push) Successful in 3s

This commit is contained in:
2023-10-30 22:36:18 +01:00
parent 242cf9583e
commit 604b0fbb74
3 changed files with 13 additions and 11 deletions

View File

@ -24,6 +24,7 @@ class User extends Model {
function login()
{
if(!$this->id) return false;
$this->load();
$this->last_login = $this->getDateTime();
$this->save();