]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/commitdiff
We don't have a setup in file_auth, so scratch this.
authorBram Matthys <redacted>
Sun, 16 Apr 2023 13:13:14 +0000 (15:13 +0200)
committerBram Matthys <redacted>
Sun, 16 Apr 2023 13:13:14 +0000 (15:13 +0200)
plugins/file_auth/file_auth.php

index 6b85907078c58c2b4af5788b4fca89a111cc50de..ce6231903b319a752cfddbf8d3cbbd11193d9aac 100644 (file)
@@ -64,10 +64,6 @@ class file_auth
        // duplicate code
        public static function session_start($n)
        {
-               $current_page = $_SERVER['REQUEST_URI'];
-               if (str_ends_with($current_page,"setup.php"))
-                       return;
-
                if (!isset($_SESSION))
                {
                        session_set_cookie_params(3600);