You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2020/05/08 11:41:09 UTC

[sling-org-apache-sling-auth-form] branch master updated: SLING-9431 - Login form should set focus to the first input field

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-auth-form.git


The following commit(s) were added to refs/heads/master by this push:
     new 9639e62  SLING-9431 - Login form should set focus to the first input field
9639e62 is described below

commit 9639e62b6b62b654928fa440b2782091d28b01b3
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Fri May 8 13:40:44 2020 +0200

    SLING-9431 - Login form should set focus to the first input field
---
 src/main/resources/org/apache/sling/auth/form/impl/login.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/resources/org/apache/sling/auth/form/impl/login.html b/src/main/resources/org/apache/sling/auth/form/impl/login.html
index 755d83a..3e4b5b2 100644
--- a/src/main/resources/org/apache/sling/auth/form/impl/login.html
+++ b/src/main/resources/org/apache/sling/auth/form/impl/login.html
@@ -50,7 +50,7 @@
 								<label for="j_username" >Username:</label>
 							</div>
 							<div>
-								<input id="j_username" name="j_username" type="text" />
+								<input id="j_username" name="j_username" type="text" autofocus/>
 							</div>
 							<div>
 								<label for="j_password" accesskey="p">Password:</label>