Restore getUserMemberStatus function to original implementation and fix database queries

This commit is contained in:
twotalesanimation
2025-12-03 10:45:13 +02:00
parent c13c77aac4
commit 204462877c
58 changed files with 3204 additions and 89 deletions

View File

@@ -87,7 +87,7 @@ if (isset($_GET['code'])) {
$_SESSION['user_id'] = $row['user_id'];
$_SESSION['first_name'] = $row['first_name'];
$_SESSION['profile_pic'] = $row['profile_pic'];
sendEmail('chrispintoza@gmail.com', '4WDCSA: New User Login', $name.' has just logged in using Google Login.');
sendEmail('chrispintoza@gmail.com', 'Administrator', '4WDCSA: New User Login', $name.' has just logged in using Google Login.');
// Regenerate session to prevent session fixation attacks
AuthenticationService::regenerateSession();
// Reset rate limit on successful login