From 209188b358c63658f43c4f0f6b751f5b77b35f79 Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Mon, 14 Sep 2009 09:48:24 -0400 Subject: [PATCH] Set uninitialized $time variable to current timestamp. Many thanks to Mirko for finding this bug. --- interface/web/login/index.php | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/interface/web/login/index.php b/interface/web/login/index.php index 2f841a6..9f80982 100644 --- a/interface/web/login/index.php +++ b/interface/web/login/index.php @@ -68,6 +68,7 @@ $username = $app->db->quote($_POST['username']); $passwort = $app->db->quote($_POST['passwort']); $loginAs = false; + $time = time(); if($username != '' && $passwort != '' && $error == '') { /* -- Gitblit v1.9.1