Compare commits

...

2 Commits

Author SHA1 Message Date
dfdc2a0756
fix: update status although email not set
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-13 21:03:28 +08:00
04e6853222
fix: 8314eb67602af0416e50f8514f64e1d9d1a3acd8 2023-02-13 21:01:30 +08:00
2 changed files with 4 additions and 0 deletions

View File

@ -125,6 +125,7 @@ class Auth {
}
$_SESSION['username'] = $myUser['username'];
$_SESSION['remember_token'] = $myUser['remember_token'];
return;
}

View File

@ -94,6 +94,9 @@ class UOJMail {
DB::update("update emails set send_time = now() where id = {$email['id']}");
echo '[UOJMail::cronSendEmail] ID: ' . $email['id'] . ' sent.' . "\n";
}
} else {
DB::update("update emails set send_time = now() where id = {$email['id']}");
echo '[UOJMail::cronSendEmail] ID: ' . $email['id'] . ' - empty email address.' . "\n";
}
}