login: exclude cookie data from user name default
[minimedit.git] / login.inc.php
index 69607dfb897a42edb92814d8930365cab01514c7..4d05dedc5fa670d4a20b253df4322a86d334bd6e 100644 (file)
@@ -6,7 +6,9 @@ if (isset($message)) {
 }
 ?>
 <form action="" method="post">
-       <input id="login" name="login" placeholder="Huisnummer" />
+       <input id="login" name="login" placeholder="Gebruikersnaam" value="<?php
+               if (isset($_POST['login'])) print htmlspecialchars($_REQUEST['login']);
+       ?>" />
        <input id="pass" name="pass" type="password" value="" placeholder="Wachtwoord" />
        <input type="submit" value="Log in" />
 </form>