로그아웃 인증 정리

This commit is contained in:
seo
2026-07-02 19:17:45 +09:00
parent d000b25648
commit a824d3bcda
3 changed files with 18 additions and 0 deletions
+1
View File
@@ -10,6 +10,7 @@ $csrf = csrf_token();
if (isset($_GET['logout'])) {
clear_remember_token();
clear_common_admin_auth_cookie_if_available();
$_SESSION = [];
if (ini_get('session.use_cookies')) {
$p = session_get_cookie_params();