feat: Umami 支持编辑哈希盐

This commit is contained in:
wanghe-fit2cloud 2024-07-31 16:15:06 +08:00
parent 0d1ba402b5
commit f08dd4ab82

View File

@ -1,56 +1,57 @@
additionalProperties: additionalProperties:
formFields: formFields:
- child: - child:
default: "" default: ""
envKey: PANEL_DB_HOST envKey: PANEL_DB_HOST
required: true required: true
type: service type: service
default: mysql default: mysql
envKey: PANEL_DB_TYPE envKey: PANEL_DB_TYPE
labelEn: Database Service labelEn: Database Service
labelZh: 数据库服务 labelZh: 数据库服务
required: true required: true
type: apps type: apps
values: values:
- label: MySQL - label: MySQL
value: mysql value: mysql
- label: PostgreSQL - label: PostgreSQL
value: postgresql value: postgresql
- default: umami - default: umami
envKey: PANEL_DB_NAME envKey: PANEL_DB_NAME
labelEn: Database labelEn: Database
labelZh: 数据库名 labelZh: 数据库名
random: true random: true
required: true required: true
rule: paramCommon rule: paramCommon
type: text type: text
- default: umami - default: umami
envKey: PANEL_DB_USER envKey: PANEL_DB_USER
labelEn: User labelEn: User
labelZh: 数据库用户 labelZh: 数据库用户
random: true random: true
required: true required: true
rule: paramCommon rule: paramCommon
type: text type: text
- default: umami - default: umami
envKey: PANEL_DB_USER_PASSWORD envKey: PANEL_DB_USER_PASSWORD
labelEn: Password labelEn: Password
labelZh: 数据库用户密码 labelZh: 数据库用户密码
random: true random: true
required: true required: true
rule: paramComplexity rule: paramComplexity
type: password type: password
- default: 3000 - default: 3000
envKey: PANEL_APP_PORT_HTTP envKey: PANEL_APP_PORT_HTTP
labelEn: Port labelEn: Port
labelZh: HTTP 端口 labelZh: HTTP 端口
required: true required: true
rule: paramPort rule: paramPort
type: number type: number
- default: umami - default: umami
envKey: HASH_SALT edit: true
labelEn: Hash Salt envKey: HASH_SALT
labelZh: 哈希盐 (随机字符串) labelEn: Hash Salt
random: true labelZh: 哈希盐 (随机字符串)
required: true random: true
type: text required: true
type: text