浏览代码

Clear-Site-Data: "*" when logging out

Miraty 4 年之前
父节点
当前提交
66f472f678
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      auth/logout.php

+ 1 - 0
auth/logout.php

@@ -2,6 +2,7 @@
 
 <?php
 session_destroy();
+header('Clear-Site-Data: "*"');
 header('Location: ' . PREFIX . '/auth/');
 exit;
 ?>