Index: openacs-4/packages/openacs-bootstrap3-theme/resources/templates/packages/acs-subsite/lib/login.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/openacs-bootstrap3-theme/resources/templates/packages/acs-subsite/lib/login.tcl,v diff -u -r1.4.2.3 -r1.4.2.4 --- openacs-4/packages/openacs-bootstrap3-theme/resources/templates/packages/acs-subsite/lib/login.tcl 10 Jul 2019 16:40:08 -0000 1.4.2.3 +++ openacs-4/packages/openacs-bootstrap3-theme/resources/templates/packages/acs-subsite/lib/login.tcl 11 Jul 2019 11:54:46 -0000 1.4.2.4 @@ -67,6 +67,14 @@ set default_persistent_login_p 0 } +# +# Set the value of the autocomplete attribute on the 'password' element in the +# login form. +# +set password_autocomplete [parameter::get \ + -parameter LoginPasswordAutocomplete \ + -package_id $subsite_id \ + -default "current-password"] set subsite_url [subsite::get_element -element url] set system_name [ad_system_name] @@ -150,7 +158,7 @@ ad_form -extend -name login -form { {password:text(password) {label "[_ acs-subsite.Password]:"} - {html {style "width: 300px" class "form-control" autocomplete "new-password"}} + {html {style "width: 300px" class "form-control" autocomplete "$password_autocomplete"}} } }