Commit c4433011 authored by Francois Marier's avatar Francois Marier
Browse files

usability: mark password field as mandatory on main login form


Signed-off-by: default avatarFrancois Marier <francois@catalyst.net.nz>
parent aa6a2eb7
......@@ -1563,6 +1563,9 @@ function auth_generate_login_form() {
'title' => get_string('password') . ':',
'description' => get_string('passworddescription'),
'defaultvalue' => '',
'rules' => array(
'required' => true
)
),
'submit' => array(
'type' => 'submit',
......
Markdown is supported
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