page/firstRun: use password input for password
All checks were successful
Build dev / build (push) Successful in 51s
All checks were successful
Build dev / build (push) Successful in 51s
because why password should be shown in plain text??
This commit is contained in:
parent
ebf5690519
commit
1d8220d92c
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ type optionalMap<Optional> = Optional extends true ? undefined : string | number
|
|||
export type fieldDefinition<Optional extends boolean = boolean> = {
|
||||
key: string,
|
||||
label?: string,
|
||||
type: "text" | "number",
|
||||
type: "text" | "password" | "number",
|
||||
optional?: Optional,
|
||||
value?: optionalMap<Optional>,
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@ import Alerts, { type AlertData } from '~/components/alerts.vue';
|
|||
|
||||
const editorFields: Array<fieldDefinition> = [
|
||||
{ key: "username", type: "text", label: "Username", optional: false },
|
||||
{ key: "password", type: "text", label: "Password", optional: false },
|
||||
{ key: "password", type: "password", label: "Password", optional: false },
|
||||
{ key: "email", type: "text", label: "email", optional: false },
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue