Removed autocomplete on password forms
authorThierry Florac <thierry.florac@onf.fr>
Wed, 01 Apr 2015 10:41:43 +0200
changeset 28 028799699e8a
parent 27 719d3f65ef5c
child 29 9c4800c8cdcf
Removed autocomplete on password forms
src/pyams_security/zmi/plugin/admin.py
--- a/src/pyams_security/zmi/plugin/admin.py	Wed Apr 01 10:39:47 2015 +0200
+++ b/src/pyams_security/zmi/plugin/admin.py	Wed Apr 01 10:41:43 2015 +0200
@@ -65,6 +65,7 @@
     icon_css_class = 'fa fa-fw fa-support'
 
     fields = field.Fields(IAdminAuthenticationPlugin).omit('__name__', '__parent__')
+    autocomplete = 'off'
     ajax_handler = 'add-admin-authentication.json'
     edit_permission = 'system.manage'
 
@@ -107,6 +108,7 @@
     icon_css_class = 'fa fa-fw fa-support'
 
     fields = field.Fields(IAdminAuthenticationPlugin).omit('__name__', '__parent__')
+    autocomplete = 'off'
     ajax_handler = 'properties.json'
     edit_permission = 'system.manage'