diff options
| author | Max | 2017-02-01 22:42:44 +0100 |
|---|---|---|
| committer | Max | 2017-02-01 22:42:44 +0100 |
| commit | b75b11e62e7156e70bef71e8d048333e48958e8d (patch) | |
| tree | 914db04a77f0ff2701e5c2c70d67f189e49ae702 /intern.gospeladlershof.de | |
| parent | f70a7d063a028765658b33d5ed0fe493f57bdd20 (diff) | |
| download | gospeladlershof.de-b75b11e62e7156e70bef71e8d048333e48958e8d.tar.gz | |
Erzwingt E-Mail-Adresse als Login.
Diffstat (limited to 'intern.gospeladlershof.de')
| -rw-r--r-- | intern.gospeladlershof.de/code/login.php | 2 | ||||
| -rw-r--r-- | intern.gospeladlershof.de/login.php | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/intern.gospeladlershof.de/code/login.php b/intern.gospeladlershof.de/code/login.php index ea758a4..ba41b1c 100644 --- a/intern.gospeladlershof.de/code/login.php +++ b/intern.gospeladlershof.de/code/login.php @@ -14,6 +14,7 @@ if ( "2397be3187f0ab864802fbe2b6c3207a01328988d524973d4eeaa48928410a2588263882e3 "373a3dd664c54f99059c4801f3807bdc16c4c22f208a05a5a3d8e990c3e76d4a96c27ebe6aa2b8db1ca02eee3d5e5a458dc5819e3852952f5b7d5f3e631b6fcf" === $passwd ) { +/* if ( $mail === "Chor" || "chor" === $mail ) { $_SESSION["login"] = true; $_SESSION["success"] = "Erfolgreich eingeloggt. Der Nutzername 'chor' wird bald deaktiviert. Bitte benutze deine E-Mail-Adresse als Login-Name."; @@ -26,6 +27,7 @@ if ( $mail === "Chor" || "chor" === $mail ) { exit; } + */ foreach($addresses as $a) { if ( strtolower($mail) === strtolower($a) ) { $_SESSION["login"] = true; diff --git a/intern.gospeladlershof.de/login.php b/intern.gospeladlershof.de/login.php index aba1467..c9462f1 100644 --- a/intern.gospeladlershof.de/login.php +++ b/intern.gospeladlershof.de/login.php @@ -31,7 +31,7 @@ if ( ! empty($_SESSION) ) { ?> <h2 class="form-signin-heading">Bitte melde dich an</h2> <label for="inputEmail" class="sr-only">E-Mail Adresse</label> - <input name="email" type="text" id="inputEmail" class="form-control" placeholder="E-Mail-Adresse" required autofocus> + <input name="email" type="email" id="inputEmail" class="form-control" placeholder="E-Mail-Adresse" required autofocus> <label for="inputPassword" class="sr-only">Passwort</label> <input name="password" type="password" id="inputPassword" class="form-control" placeholder="Passwort" required> <!--div class="checkbox"> |
