summaryrefslogtreecommitdiff
path: root/intern.gospeladlershof.de/code/login.php
diff options
context:
space:
mode:
authorhorus2017-05-15 13:49:46 +0200
committerhorus2017-05-15 13:49:46 +0200
commitbf8b0f710ac2e1b14b23b16a8be99a61d1424ad4 (patch)
treea4b5719e7a0d5d8574050d2a19f7cf6b1f46ad92 /intern.gospeladlershof.de/code/login.php
parent971d51250c6014b7178a845fa5ba75d60139e719 (diff)
parent2666796615ccb82e0da09a3c422cc0cbd9a22755 (diff)
downloadgospeladlershof.de-bf8b0f710ac2e1b14b23b16a8be99a61d1424ad4.tar.gz
Merge branch 'master' of git.iamfabulous.de:gospeladlershof.de
Diffstat (limited to 'intern.gospeladlershof.de/code/login.php')
-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");
- */