diff --git a/admin/auth_config.php b/admin/auth_config.php index 1fe945bef58..b307cd7d5d9 100644 --- a/admin/auth_config.php +++ b/admin/auth_config.php @@ -64,8 +64,6 @@ echo "
\n"; echo "
\n"; echo "\n"; echo "\n"; -// HACK to prevent browsers from automatically inserting the user's password into the wrong fields. -echo prevent_form_autofill_password(); // auth plugin description echo $OUTPUT->box_start(); diff --git a/admin/templates/settings.mustache b/admin/templates/settings.mustache index aba66012463..4f351b8d2c4 100644 --- a/admin/templates/settings.mustache +++ b/admin/templates/settings.mustache @@ -43,7 +43,6 @@ {{/params}} - {{>core/prevent_form_autofill_password}} {{#title}}

{{title}}

{{/title}} diff --git a/admin/templates/settings_search_results.mustache b/admin/templates/settings_search_results.mustache index dd392f7c940..c6f7bbb3bb5 100644 --- a/admin/templates/settings_search_results.mustache +++ b/admin/templates/settings_search_results.mustache @@ -37,7 +37,6 @@
- {{>core/prevent_form_autofill_password}}
diff --git a/admin/upgradesettings.php b/admin/upgradesettings.php index f4aa61713c9..38a8f065ba1 100644 --- a/admin/upgradesettings.php +++ b/admin/upgradesettings.php @@ -63,8 +63,6 @@ echo ''; echo '
'; echo ''; echo ''; -// HACK to prevent browsers from automatically inserting the user's password into the wrong fields. -echo prevent_form_autofill_password(); echo '
'; echo '
'; echo $newsettingshtml; diff --git a/files/renderer.php b/files/renderer.php index 7fce28428ea..46324fcd64e 100644 --- a/files/renderer.php +++ b/files/renderer.php @@ -1016,8 +1016,6 @@ class core_files_renderer extends plugin_renderer_base {
'; - // HACK to prevent browsers from automatically inserting the user's password into the wrong fields. - $rv .= prevent_form_autofill_password(); $rv .= ' - {{{autofillhack}}} -
\ No newline at end of file + diff --git a/theme/boost/templates/core_admin/settings.mustache b/theme/boost/templates/core_admin/settings.mustache index e971f03d3ce..1de92506222 100644 --- a/theme/boost/templates/core_admin/settings.mustache +++ b/theme/boost/templates/core_admin/settings.mustache @@ -24,7 +24,6 @@ {{/params}} - {{>core/prevent_form_autofill_password}} {{#title}}

{{title}}

{{/title}} diff --git a/theme/boost/templates/core_admin/settings_search_results.mustache b/theme/boost/templates/core_admin/settings_search_results.mustache index ce09da88c75..d5f0bc15a50 100644 --- a/theme/boost/templates/core_admin/settings_search_results.mustache +++ b/theme/boost/templates/core_admin/settings_search_results.mustache @@ -20,7 +20,6 @@
- {{>core/prevent_form_autofill_password}}