浏览代码

* target="_top" for accidental logouts

Tyler Akins 24 年之前
父节点
当前提交
1f1506d687
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      functions/auth.php

+ 1 - 1
functions/auth.php

@@ -20,7 +20,7 @@
       echo "<br><br>";
       echo "<br><br>";
       echo "<center>";
       echo "<center>";
       echo "<b>"._("You must be logged in to access this page.")."</b><br>";
       echo "<b>"._("You must be logged in to access this page.")."</b><br>";
-      echo "<a href=\"../src/login.php\">"._("Go to the login page")."</a>\n";
+      echo "<a href=\"../src/login.php\" target=\"_top\">"._("Go to the login page")."</a>\n";
       echo "</center>";
       echo "</center>";
       echo "</body></html>\n";
       echo "</body></html>\n";
       exit;
       exit;