Skip to content

Commit 209188b

Browse files
committed
Set uninitialized $time variable to current timestamp. Many thanks to Mirko for finding this bug.
1 parent c9f8751 commit 209188b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

interface/web/login/index.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ public function render() {
6868
$username = $app->db->quote($_POST['username']);
6969
$passwort = $app->db->quote($_POST['passwort']);
7070
$loginAs = false;
71+
$time = time();
7172

7273
if($username != '' && $passwort != '' && $error == '') {
7374
/*

0 commit comments

Comments
 (0)