Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
2 merge requests!46Master,!21Master
......@@ -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 == '') {
/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment