summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhorus_arch2017-05-14 22:20:37 +0200
committerhorus_arch2017-05-14 22:20:37 +0200
commite47b2f79aec8166eb4b6f452015a210f6320d9e6 (patch)
tree07396b3db16bd65dcf67ed6c4f8f9ccbee5e8d84
parent1e8bd1f9a0265b7c7285b93b30cb396f71af7e4a (diff)
downloadgospeladlershof.de-e47b2f79aec8166eb4b6f452015a210f6320d9e6.tar.gz
Entfernt toten Code.
-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");
- */