Restore getUserMemberStatus function to original implementation and fix database queries
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user