diff --git a/sections/login/index.php b/sections/login/index.php index a255f702..133bb970 100644 --- a/sections/login/index.php +++ b/sections/login/index.php @@ -72,6 +72,8 @@ VALUES ('$UserID', '$_SERVER[REMOTE_ADDR]', '".sqltime()."')"); $Reset = true; // Past tense form of "to reset", meaning that password has now been reset + G::$LoggedUser['ID'] = $UserID; // Set $LoggedUser['ID'] for logout_all_sessions() to work + logout_all_sessions(); }