MDL-10611 - backslashes in username get doubled up with an nonsuccessful log in

merged from MOODLE_18_STABLE
This commit is contained in:
poltawski
2007-12-23 16:42:42 +00:00
parent 6972c07a61
commit b382bfabd5
+1 -1
View File
@@ -30,7 +30,7 @@ if ($show_instructions) {
<div class="loginform">
<div class="form-label"><label for="username"><?php print_string("username") ?></label></div>
<div class="form-input">
<input type="text" name="username" id="username" size="15" value="<?php p($frm->username) ?>" />
<input type="text" name="username" id="username" size="15" value="<?php p($frm->username, true) ?>" />
</div>
<div class="clearer"><!-- --></div>
<div class="form-label"><label for="password"><?php print_string("password") ?></label></div>