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:
@@ -20,7 +20,8 @@ Auth:
|
||||
RequirePhoneBound: false
|
||||
|
||||
SMS:
|
||||
Provider: off
|
||||
# 须加引号:YAML 1.1 会把裸 off/on 当成布尔,导致 type mismatch for field sms.provider
|
||||
Provider: "off"
|
||||
CodeTTLSeconds: 300
|
||||
ResendSeconds: 60
|
||||
# 试运行关绑定短信;正式接短信后 Provider=dev|真实厂商 且 RequireForBind=true
|
||||
|
||||
Reference in New Issue
Block a user