]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/blobdiff - login/index.php
Allow editing the panel profile
[irc/unrealircd/unrealircd-webpanel.git] / login / index.php
index fb294b2b0614a8972f70503467c13b23c4ad99fc..da0ca1ec4064ba34717f08a5efc9948b8e4091d5 100644 (file)
@@ -4,7 +4,6 @@ require_once "../common.php";
 
 $logout = false;
 $redirect = (isset($_GET['redirect'])) ? $_GET['redirect'] : BASE_URL;
-
 if (!empty($_GET['logout']))
 {
        if (!isset($_SESSION['id']))
@@ -23,7 +22,6 @@ if (!empty($_POST))
                /* 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']))
                {