middleware Locale use as global

This commit is contained in:
xiaomlove
2025-04-05 16:17:11 +07:00
parent 97dc956c20
commit 14767b1aca
7 changed files with 8 additions and 9 deletions
+1 -1
View File
@@ -856,7 +856,7 @@ EOD;
if ($privacyupdated == 1)
$to .= "&privacy=1";
clear_user_cache($CURUSER["id"]);
\Nexus\Database\NexusDB::cache_get(get_challenge_key($userInfo->username));
\Nexus\Database\NexusDB::cache_del(get_challenge_key($userInfo->username));
header("Location: $to");
}
stdhead($lang_usercp['head_control_panel'].$lang_usercp['head_security_settings']);