Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Disable auto-capitalize on username input

Christian Bauer2b7cb038d40f
diff --git a/keycloak/theme/login/login.ftl b/keycloak/theme/login/login.ftl
index 15f1514ed..66637f3d8 100755
--- a/keycloak/theme/login/login.ftl
+++ b/keycloak/theme/login/login.ftl
@@ -17,12 +17,14 @@
<input id="username"
autofocus
autocomplete="off"
+ autocapitalize="off"
class="or-FormControl or-FormInputText"
name="username" value="${(login.username!'')?html}" type="text" disabled/>
<#else>
<input id="username"
autofocus
- autocomplete="off"
+ autocomplete="off"
+ autocapitalize="off"
class="or-FormControl or-FormInputText"
name="username" value="${(login.username!'')?html}" type="text" autofocus/>
</#if>