diff --git a/view/login.php b/view/login.php index fe6c1a84e0e571ba7fc66bfa66cdf6cde7514a85..00261b54be36cba1f0aace2fcfa377291f5d52d6 100644 --- a/view/login.php +++ b/view/login.php @@ -46,7 +46,7 @@ <form method="POST" action="" id="login_form"> <tr> <td><label>Username</label></td> - <td><input id="field_username" type="text" name="username" value="<?php if (isset($username)) { echo $username; } ?>" autofocus/></td> + <td><input id="field_username" type="text" name="username" pattern="" value="<?php if (isset($username)) { echo escapeHTML($username); } ?>" autofocus/></td> </tr> <tr> <td><label>Password</label></td>