From 1efb155aefb9494b0fd723c74e68f77bb5c38868 Mon Sep 17 00:00:00 2001
From: NOUMANE <ahmed.noumane@xelians.fr>
Date: Fri, 21 Aug 2020 10:03:21 +0200
Subject: [PATCH] [US TRTL-287] fix subrogation focus on OK button

---
 cas/cas-server/src/main/resources/templates/casLoginView.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cas/cas-server/src/main/resources/templates/casLoginView.html b/cas/cas-server/src/main/resources/templates/casLoginView.html
index 55f43b88..7b138488 100644
--- a/cas/cas-server/src/main/resources/templates/casLoginView.html
+++ b/cas/cas-server/src/main/resources/templates/casLoginView.html
@@ -84,7 +84,7 @@
 	        <input type="hidden" name="execution" th:value="${flowExecutionKey}"/>
 	        <input type="hidden" name="_eventId" value="submit"/>
 
-            <button type="submit" class="vitamui-primary" name="submit" accesskey="l" th:value="Suivant" tabindex="6">OK</button>
+            <button  type="submit" autofocus  class="vitamui-primary" name="submit" accesskey="l" th:value="Suivant" tabindex="6">OK</button>
         </form>
         <p class="helper">Appuyez sur <strong>Entrée</strong> pour valider</p>
 		<button class="back" type="button" th:onclick="|location.href = '@{/login(service=${serviceUrl})}';|" th:if="${!#strings.isEmpty(superUser)}">
-- 
GitLab