From e47b2f79aec8166eb4b6f452015a210f6320d9e6 Mon Sep 17 00:00:00 2001 From: horus_arch Date: Sun, 14 May 2017 22:20:37 +0200 Subject: Entfernt toten Code. --- intern.gospeladlershof.de/code/login.php | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/intern.gospeladlershof.de/code/login.php b/intern.gospeladlershof.de/code/login.php index b1ad01f..e72213a 100644 --- a/intern.gospeladlershof.de/code/login.php +++ b/intern.gospeladlershof.de/code/login.php @@ -6,7 +6,6 @@ require_once __DIR__ . '/../vendor/autoload.php'; use Pheanstalk\Pheanstalk; $mail = strtolower($_REQUEST["email"]); -$passwd = hash("sha512", $_REQUEST["password"]); $addresses= file(__DIR__ . "/../../intern/chor_list_members.txt", FILE_IGNORE_NEW_LINES); @@ -55,24 +54,3 @@ foreach($addresses as $a) { header($_SERVER["SERVER_PROTOCOL"] . " 302 Redirect"); header("Location: /check_login.php"); - - /* - $_SESSION["login"] = true; - $_SESSION["success"] = "Erfolgreich eingeloggt."; - - $_SESSION["dontdisplaydeploybutton"] = 1; - $_SESSION["user"] = $mail; - - header($_SERVER["SERVER_PROTOCOL"] . " 302 Redirect"); - header("Location: /"); - - exit; - } -} - -$_SESSION["login"] = false; -$_SESSION["error"] = "E-Mail oder Passwort stimmmen nicht überein."; - -header($_SERVER["SERVER_PROTOCOL"] . " 302 Redirect"); -header("Location: /login.php"); - */ -- cgit v1.2.3