diff --git a/theme/keywind/login/login-reset-password.ftl b/theme/keywind/login/login-reset-password.ftl index 6c42a97..5aa0a1e 100644 --- a/theme/keywind/login/login-reset-password.ftl +++ b/theme/keywind/login/login-reset-password.ftl @@ -20,7 +20,7 @@ autofocus=true invalid=["username"] name="username" - type=realm.loginWithEmailAllowed?string("email", "text") + type="text" value=(auth?has_content && auth.showUsername())?then(auth.attemptedUsername, '') > <@labelUsername.kw /> diff --git a/theme/keywind/login/login.ftl b/theme/keywind/login/login.ftl index 9b02754..1ff0664 100644 --- a/theme/keywind/login/login.ftl +++ b/theme/keywind/login/login.ftl @@ -34,7 +34,7 @@ disabled=usernameEditDisabled?? invalid=["username", "password"] name="username" - type=realm.loginWithEmailAllowed?string("email", "text") + type="text" value=(login.username)!'' > <@labelUsername.kw />