From 46d85359f1fa792543da9b558db510a36bdf5385 Mon Sep 17 00:00:00 2001 From: Paul Adam Davis Date: Wed, 30 Jul 2014 14:13:48 +0100 Subject: [PATCH] Disable user settings autocomplete in Chrome Closes #3271 - Adds 2 hidden inputs at the top start of the form that trick chrome into filling those, leaving out the rest. --- ghost/admin/templates/settings/users/user.hbs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ghost/admin/templates/settings/users/user.hbs b/ghost/admin/templates/settings/users/user.hbs index ddaad70489..3869953d4c 100644 --- a/ghost/admin/templates/settings/users/user.hbs +++ b/ghost/admin/templates/settings/users/user.hbs @@ -35,6 +35,10 @@
+ {{!-- Horrible hack to prevent Chrome from incorrectly auto-filling inputs --}} + + +
@@ -67,7 +71,7 @@ {{!-- The correct markup for select boxes. Needs changing to the correct data --}} {{!--
- + {{view Ember.Select id="activeTheme" name="general[activeTheme]"