]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/blobdiff - plugins/sql_auth/login.php
Some casual fixes
[irc/unrealircd/unrealircd-webpanel.git] / plugins / sql_auth / login.php
index b0b0aa45735268c6f892e87c97a03177cc069ed6..7f2dff7b2665aaf41c3f7ed77315b70faa07eac0 100644 (file)
@@ -17,9 +17,7 @@ if (!empty($_POST))
 {
   if ($_POST['username'] && $_POST['password'])
   {
-      session_start([
-        'cookie_lifetime' => 86400,
-      ]);
+      
       $user = new SQLA_User($_POST['username']);
       
       /* not being too informative with the login error in case of attackers */