From 1d8220d92c27802bc0b5ef858cef4ca786b9276b Mon Sep 17 00:00:00 2001 From: Wroclaw Date: Thu, 9 Nov 2023 18:48:37 +0100 Subject: [PATCH] page/firstRun: use password input for password because why password should be shown in plain text?? --- components/entryEditor.vue | 2 +- pages/firstRun.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/entryEditor.vue b/components/entryEditor.vue index 2ab5d35..4f2bda2 100644 --- a/components/entryEditor.vue +++ b/components/entryEditor.vue @@ -7,7 +7,7 @@ type optionalMap = Optional extends true ? undefined : string | number export type fieldDefinition = { key: string, label?: string, - type: "text" | "number", + type: "text" | "password" | "number", optional?: Optional, value?: optionalMap, } diff --git a/pages/firstRun.vue b/pages/firstRun.vue index 7e8b54d..238ef05 100644 --- a/pages/firstRun.vue +++ b/pages/firstRun.vue @@ -9,7 +9,7 @@ import Alerts, { type AlertData } from '~/components/alerts.vue'; const editorFields: Array = [ { 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 }, ];