diff --git a/apps/chronoframe/0.14.1/data.yml b/apps/chronoframe/0.14.1/data.yml index 6bfadffb2..6fe3131a6 100644 --- a/apps/chronoframe/0.14.1/data.yml +++ b/apps/chronoframe/0.14.1/data.yml @@ -35,4 +35,49 @@ additionalProperties: labelZh: 管理员密码 labelEn: Admin Password required: true + type: password + - default: "" + edit: true + envKey: NUXT_SESSION_PASSWORD + labelZh: 会话密码 (32 字符字符串) + labelEn: Session Password (32 character string) + required: true type: text + - default: "false" + edit: true + envKey: NUXT_ALLOW_INSECURE_COOKIE + labelZh: 允许不安全的 Cookie + labelEn: Allow Insecure Cookie + required: true + type: select + values: + - label: 允许IP访问 + value: "true" + - label: 禁止IP访问 + value: "false" + - default: "false" + edit: true + envKey: NUXT_UPLOAD_DUPLICATE_CHECK_ENABLED + labelZh: 重复文件检查 + labelEn: Duplicate File Check + required: true + type: select + values: + - label: 开启重复文件检查 + value: "true" + - label: 禁止重复文件检查 + value: "false" + - default: "skip" + edit: true + envKey: NUXT_UPLOAD_DUPLICATE_CHECK_MODE + labelZh: 重复文件检查模式 + labelEn: Duplicate File Check Mode + required: true + type: select + values: + - label: 跳过模式 + value: "skip" + - label: 警告模式 + value: "warn" + - label: 阻止模式 + value: "block" diff --git a/apps/chronoframe/README.md b/apps/chronoframe/README.md index 711d015ea..6d6ddf3e5 100644 --- a/apps/chronoframe/README.md +++ b/apps/chronoframe/README.md @@ -12,6 +12,19 @@ > > 默认密码: CF1234@! + +### 会话密码 + +> 会话密码用于加密用户会话,建议使用 32 字符随机字符串 + +```sh +# Linux / macOS +openssl rand -base64 32 + +# Windows (pwsh) +[Convert]::ToBase64String((1..32|%{[byte](Get-Random -Max 256)})) +``` + ## ✨ 特性 🖼️ 强大的图片管理