diff options
| author | horus_arch | 2017-02-20 14:06:28 +0100 |
|---|---|---|
| committer | horus_arch | 2017-02-20 14:06:28 +0100 |
| commit | 5d1c13ee8695b7194031b8a8d8017c181b633045 (patch) | |
| tree | f80f5adb06c987d63524937bc88b099193193ced /intern.gospeladlershof.de/code/check_login.php | |
| parent | 5fd2250f7c9a5be373e5c71f50d0c1e001f80322 (diff) | |
| download | gospeladlershof.de-5d1c13ee8695b7194031b8a8d8017c181b633045.tar.gz | |
Diverse Bugfixes.
Diffstat (limited to 'intern.gospeladlershof.de/code/check_login.php')
| -rw-r--r-- | intern.gospeladlershof.de/code/check_login.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
