# HG changeset patch # User Mads Kiilerich # Date 2015-03-12 15:34:24 # Node ID 3b4f382773650af5e1dc4b746ac19f9f0fc5e670 # Parent 26cbd84f0493d70a22e40bf25f195b20ed50aba9 templates: drop autocomplete="off" - it is ignored by browsers This is annoying for admin when setting passwor for other users - we will have to do that in some other way. diff --git a/kallithea/templates/admin/auth/auth_settings.html b/kallithea/templates/admin/auth/auth_settings.html --- a/kallithea/templates/admin/auth/auth_settings.html +++ b/kallithea/templates/admin/auth/auth_settings.html @@ -58,7 +58,7 @@
- ${h.password(fullsetting,class_='small',autocomplete="off")} + ${h.password(fullsetting,class_='small')} ${setting["description"]}
diff --git a/kallithea/templates/admin/my_account/my_account_password.html b/kallithea/templates/admin/my_account/my_account_password.html --- a/kallithea/templates/admin/my_account/my_account_password.html +++ b/kallithea/templates/admin/my_account/my_account_password.html @@ -7,7 +7,7 @@ ${h.form(url('my_account_password'), met
- ${h.password('current_password',class_='medium',autocomplete="off")} + ${h.password('current_password',class_='medium')}
@@ -16,7 +16,7 @@ ${h.form(url('my_account_password'), met
- ${h.password('new_password',class_='medium', autocomplete="off")} + ${h.password('new_password',class_='medium')}
@@ -25,7 +25,7 @@ ${h.form(url('my_account_password'), met
- ${h.password('new_password_confirmation',class_='medium', autocomplete="off")} + ${h.password('new_password_confirmation',class_='medium')}
diff --git a/kallithea/templates/admin/users/user_add.html b/kallithea/templates/admin/users/user_add.html --- a/kallithea/templates/admin/users/user_add.html +++ b/kallithea/templates/admin/users/user_add.html @@ -41,7 +41,7 @@
- ${h.password('password',class_='small',autocomplete="off")} + ${h.password('password',class_='small')}
@@ -50,7 +50,7 @@
- ${h.password('password_confirmation',class_="small",autocomplete="off")} + ${h.password('password_confirmation',class_="small")}
diff --git a/kallithea/templates/admin/users/user_edit_profile.html b/kallithea/templates/admin/users/user_edit_profile.html --- a/kallithea/templates/admin/users/user_edit_profile.html +++ b/kallithea/templates/admin/users/user_edit_profile.html @@ -69,7 +69,7 @@ ${h.form(url('update_user', id=c.user.us
- ${h.password('new_password',class_='medium%s' % disabled,autocomplete="off",readonly=readonly)} + ${h.password('new_password',class_='medium%s' % disabled,readonly=readonly)}
@@ -78,7 +78,7 @@ ${h.form(url('update_user', id=c.user.us
- ${h.password('password_confirmation',class_="medium%s" % disabled,autocomplete="off",readonly=readonly)} + ${h.password('password_confirmation',class_="medium%s" % disabled,readonly=readonly)}
diff --git a/kallithea/templates/files/files_browser.html b/kallithea/templates/files/files_browser.html --- a/kallithea/templates/files/files_browser.html +++ b/kallithea/templates/files/files_browser.html @@ -47,7 +47,7 @@
diff --git a/kallithea/templates/register.html b/kallithea/templates/register.html --- a/kallithea/templates/register.html +++ b/kallithea/templates/register.html @@ -33,7 +33,7 @@
- ${h.password('password',class_="medium",autocomplete="off")} + ${h.password('password',class_="medium")}
@@ -42,7 +42,7 @@
- ${h.password('password_confirmation',class_="medium",autocomplete="off")} + ${h.password('password_confirmation',class_="medium")}