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 }, ];