]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/commitdiff
Wait until tables have been built and we have a successful session
authorValerie Pond <redacted>
Fri, 20 Jan 2023 20:44:24 +0000 (20:44 +0000)
committerValerie Pond <redacted>
Fri, 20 Jan 2023 20:44:24 +0000 (20:44 +0000)
plugins/sql_auth/sql_auth.php

index c2b009a0ea3f0067758a7ddc08981d039a327d99..b0aa0038ca8da174cf7b2312ef611fd0c3119b6e 100644 (file)
@@ -3,7 +3,6 @@
 require_once "SQL/sql.php";
 require_once "SQL/user.php";
 require_once "SQL/settings.php";
-new AuthSettings();
 
 class sql_auth
 {
@@ -101,6 +100,7 @@ class sql_auth
                        setting_value VARCHAR(255),
                        PRIMARY KEY (id)
                )");
+               new AuthSettings();
        }
 
        /**