Commit 209188b3 authored by tbrehm's avatar tbrehm
Browse files

Set uninitialized $time variable to current timestamp. Many thanks to Mirko for finding this bug.

parent c9f8751c
......@@ -68,6 +68,7 @@ class login_index {
$username = $app->db->quote($_POST['username']);
$passwort = $app->db->quote($_POST['passwort']);
$loginAs = false;
$time = time();
if($username != '' && $passwort != '' && $error == '') {
/*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment