mirror of
https://github.com/lukin/keywind.git
synced 2025-01-09 09:26:24 +00:00
fix: update username validation
This commit is contained in:
parent
155bc47df1
commit
dce13679e7
2 changed files with 2 additions and 2 deletions
|
@ -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 />
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
disabled=usernameEditDisabled??
|
||||
invalid=["username", "password"]
|
||||
name="username"
|
||||
type=realm.loginWithEmailAllowed?string("email", "text")
|
||||
type="text"
|
||||
value=(login.username)!''
|
||||
>
|
||||
<@labelUsername.kw />
|
||||
|
|
Loading…
Reference in a new issue