From e201db8c9362e37aef3a00a25adf283b4aead0c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=B4me=20Chilliet?= <come.bernigaud@opensides.be>
Date: Mon, 6 Jun 2016 11:03:59 +0200
Subject: [PATCH] Fixes #4821 password recovery, email field focus

---
 ihtml/themes/default/recovery.tpl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ihtml/themes/default/recovery.tpl b/ihtml/themes/default/recovery.tpl
index 06a11992f..d724a9831 100644
--- a/ihtml/themes/default/recovery.tpl
+++ b/ihtml/themes/default/recovery.tpl
@@ -129,10 +129,10 @@
 </div>
 </div>
 
-  <!-- Place cursor in username field -->
+  <!-- Place cursor in email field -->
   <script type="text/javascript">
     <!-- // First input field on page
-    focus_field('error_accept','uid','directory', 'username', 'current_password');
+    focus_field('error_accept','uid','directory','username','current_password','email_address');
     next_msg_dialog();
     -->
   </script>
-- 
GitLab