Skip to content
Snippets Groups Projects
Commit b67601ea authored by Jansen's avatar Jansen
Browse files

Fixed #1 in login page view

parent 92d2ab22
Branches
No related merge requests found
......@@ -46,7 +46,11 @@
<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" value="
<?php
if (isset($username)) { echo preg_replace('/[^a-zA-Z0-9\ \.\,\:\(\)]/', '', $username); }
?>
" autofocus/></td>
</tr>
<tr>
<td><label>Password</label></td>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment