fix: quote SMS.Provider off to avoid YAML bool parse

Bare off is boolean in YAML 1.1 and crashed platform on startup with type mismatch.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
whm
2026-08-05 16:41:03 +08:00
parent afce547672
commit 42226679c9
2 changed files with 5 additions and 3 deletions

View File

@@ -19,11 +19,12 @@ Auth:
RequirePhoneBound: false
SMS:
Provider: off
# 须加引号YAML 1.1 会把裸 off/on 当成布尔,导致 type mismatch for field sms.provider
Provider: "off"
CodeTTLSeconds: 300 # 短信验证码有效期(秒)
ResendSeconds: 60
# DevFixedCode: "123456"
# 试运行未接短信平台false正式接入后改为 true且 Provider 勿用 off
# 试运行未接短信平台false正式接入后改为 true且 Provider 勿用 "off"
RequireForBind: false
# 外公司部署:每次续费/延期生成独立签名文件(目录非固定单文件)