MDL-29917 prevent form autocompletion in most Moodle forms
authorPetr Skoda <commits@skodak.org>
Fri, 30 Dec 2011 13:13:35 +0000 (14:13 +0100)
committerPetr Skoda <commits@skodak.org>
Fri, 30 Dec 2011 13:38:52 +0000 (14:38 +0100)
commit6e9989dbd3f261b2e1586ff77b0bf22fc7091485
treed17e6616bab1d7cea823ada69c45d80e5b1538a9
parent2117dcb5910944fbf8b991285be869ee31fd0ec3
MDL-29917 prevent form autocompletion in most Moodle forms

The password autocompletion in case of Moodle makes sense only on the login page, the form autocompletion in general is most probably useful only on the user signup page.

This patch is compatible with html 5, unfortunately we have to ignore strict warnings in legacy xhtml 1.0 standard.
lib/form/password.php
lib/form/passwordunmask.php
lib/formslib.php
lib/javascript-static.js
login/signup.php