# HG changeset patch # User Mads Kiilerich # Date 2014-07-18 19:22:01 # Node ID 6eafa1e06d716221bcf94d5e407db8f5f1171844 # Parent 9dfd9d24272842f452e1b7e39c97121ec7ee8c4a passwords: disable autocomplete - admin's browser should not offer to store passwords 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 @@ -64,7 +64,7 @@
- ${h.password(fullsetting,class_='small')} + ${h.password(fullsetting,class_='small',autocomplete="off")} ${setting["description"]}
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 @@ -44,7 +44,7 @@
- ${h.password('password',class_='small')} + ${h.password('password',class_='small',autocomplete="off")}
diff --git a/kallithea/templates/register.html b/kallithea/templates/register.html --- a/kallithea/templates/register.html +++ b/kallithea/templates/register.html @@ -49,7 +49,7 @@
- ${h.password('password',class_="medium")} + ${h.password('password',class_="medium",autocomplete="off")}
@@ -58,7 +58,7 @@
- ${h.password('password_confirmation',class_="medium")} + ${h.password('password_confirmation',class_="medium",autocomplete="off")}