summaryrefslogtreecommitdiff
path: root/intern.gospeladlershof.de/code/login.php
diff options
context:
space:
mode:
Diffstat (limited to 'intern.gospeladlershof.de/code/login.php')
-rw-r--r--intern.gospeladlershof.de/code/login.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/intern.gospeladlershof.de/code/login.php b/intern.gospeladlershof.de/code/login.php
index 9f8346c..ea758a4 100644
--- a/intern.gospeladlershof.de/code/login.php
+++ b/intern.gospeladlershof.de/code/login.php
@@ -19,6 +19,7 @@ if ( $mail === "Chor" || "chor" === $mail ) {
$_SESSION["success"] = "Erfolgreich eingeloggt. Der Nutzername 'chor' wird bald deaktiviert. Bitte benutze deine E-Mail-Adresse als Login-Name.";
$_SESSION["dontdisplaydeploybutton"] = 1;
+ $_SESSION["user"] = $mail;
header($_SERVER["SERVER_PROTOCOL"] . " 302 Redirect");
header("Location: /");
@@ -31,6 +32,7 @@ if ( $mail === "Chor" || "chor" === $mail ) {
$_SESSION["success"] = "Erfolgreich eingeloggt.";
$_SESSION["dontdisplaydeploybutton"] = 1;
+ $_SESSION["user"] = $mail;
header($_SERVER["SERVER_PROTOCOL"] . " 302 Redirect");
header("Location: /");