summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--intern.gospeladlershof.de/code/login.php22
1 files changed, 0 insertions, 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");
- */