From 94fc8c4c0390b1eca293ff8d8173b378d5910e7e Mon Sep 17 00:00:00 2001 From: Nicolas Le Goff Date: Wed, 28 May 2014 17:59:58 +0200 Subject: [PATCH] Fix PHRAS-130 autofill admin password in setup panel --- templates/web/admin/setup.html.twig | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/templates/web/admin/setup.html.twig b/templates/web/admin/setup.html.twig index 17a1d93564..9ae65cc4aa 100644 --- a/templates/web/admin/setup.html.twig +++ b/templates/web/admin/setup.html.twig @@ -35,7 +35,7 @@ -
+ {% for section in GV %}
{{ section['section'] }} @@ -63,7 +63,10 @@ {% elseif value['type'] == 'string' %}
{% elseif value['type'] == 'password' %} -
+
+ {# input type=password is double because of chrome and autofill issue see http://stackoverflow.com/questions/10938891/disable-autofill-in-chrome-without-disabling-autocomplete #} + + {% elseif value['type'] == 'text' %}
{% elseif value['type'] == 'enum' %}