]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/commitdiff
And add security check back...
authorBram Matthys <redacted>
Tue, 11 Apr 2023 18:01:33 +0000 (20:01 +0200)
committerBram Matthys <redacted>
Tue, 11 Apr 2023 18:01:33 +0000 (20:01 +0200)
login/index.php

index 283dd0ac9d49d4454f12c63602a027c888fc353e..ffc4cc402ea79d8973489b075871b7f77daea217 100644 (file)
@@ -34,6 +34,7 @@ if (!empty($_POST))
        if ($_POST['username'] && $_POST['password'])
        {
                /* securitah */
+               security_check();
                $user = new PanelUser($_POST['username']);
                /* not being too informative with the login error in case of attackers */
                if (isset($user->id) && $user->password_verify($_POST['password']))