From 5d1c13ee8695b7194031b8a8d8017c181b633045 Mon Sep 17 00:00:00 2001 From: horus_arch Date: Mon, 20 Feb 2017 14:06:28 +0100 Subject: Diverse Bugfixes. --- intern.gospeladlershof.de/code/check_login.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'intern.gospeladlershof.de/code/check_login.php') diff --git a/intern.gospeladlershof.de/code/check_login.php b/intern.gospeladlershof.de/code/check_login.php index 0ea8ecd..ca3a4ca 100644 --- a/intern.gospeladlershof.de/code/check_login.php +++ b/intern.gospeladlershof.de/code/check_login.php @@ -16,7 +16,7 @@ $redis = new Predis\Client([ $correct_hash = $redis->get($mail); -if ( $hash === $correct_hash ) { +if ( $hash === $correct_hash && $hash != "" && $correct_hash != "" ) { $_SESSION["login"] = true; $_SESSION["success"] = "Erfolgreich eingeloggt."; $_SESSION["user"] = $mail; -- cgit v1.2.3