summaryrefslogtreecommitdiff
path: root/intern.gospeladlershof.de/check_login.php
diff options
context:
space:
mode:
Diffstat (limited to 'intern.gospeladlershof.de/check_login.php')
-rw-r--r--intern.gospeladlershof.de/check_login.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/intern.gospeladlershof.de/check_login.php b/intern.gospeladlershof.de/check_login.php
index e812a99..65eb24f 100644
--- a/intern.gospeladlershof.de/check_login.php
+++ b/intern.gospeladlershof.de/check_login.php
@@ -31,7 +31,8 @@ if ( ! empty($_SESSION) ) {
?>
<h2 class="form-signin-heading">Login</h2>
<label for="inputEmail" class="sr-only">Authentifizierung</label>
- <input name="text" type="text" id="auth_code" class="form-control" placeholder="Der Code aus der E-Mail-Adresse" required autofocus>
+ <input name="hash" type="text" id="auth_code" class="form-control" placeholder="Der Code aus der E-Mail-Adresse" required autofocus>
+ <input name="email" type="hidden" value="<?php echo htmlentities($_SESSION['user'];?>">
<span class="help-block">Du hast einen Code aus der E-Mail enthalten. Trag ihn hier ein.</span>
<button class="btn btn-lg btn-primary btn-block" type="submit">Lass mich rein</button>
</form>