Text type to password type input on profile sign-in page (#17345)

This commit is contained in:
Phil Renaud 2023-05-30 16:58:34 -04:00 committed by GitHub
parent 038d53c58f
commit 52772ab0c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

3
.changelog/17345.txt Normal file
View File

@ -0,0 +1,3 @@
```release-note:improvement
ui: change token input type from text to password
```

View File

@ -112,7 +112,7 @@
<Input
id="token-input"
class="input"
@type="text"
@type="password"
placeholder="{{if this.hasJWTAuthMethods "36-character token secret or JWT" "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"}}"
{{autofocus}}
{{on "input" (action (mut this.secret) value="target.value")}}