diff --git a/login/index_form.html b/login/index_form.html index f2ab0de95e8..58bc36e3ff5 100644 --- a/login/index_form.html +++ b/login/index_form.html @@ -22,7 +22,7 @@ if ($show_instructions) { '; - formerr($errormsg); + echo $OUTPUT->error_text($errormsg); echo ''; } ?>