移除验证邮件策略分组并将中继密码合并入表单
Security Checks / security (push) Waiting to run

This commit is contained in:
xuans committed 2026-09-07 11:42:59 +08:00
1 parent 1faecab9ae
commit 141e846918
5 files changed
+18 -16

No files matched your search

+2 -2
View File
@@ -512,7 +512,7 @@ test('独立页保持验证、保存、应用端点和代次协议,敏感值
}
})
await page.loadAll()
page.secretValue.value = 'test-only-value'
page.updateField(['relay', 'password'], 'test-only-value')
page.confirmed.value = true
await page.validateConfig()
await page.saveConfig()
@@ -618,7 +618,7 @@ test('SQLite 不显示或发送密码,网络数据库和中继密码留空保
http: { post: async (path, body) => { request = body; return { errorNo: 0, data: { valid: true } } } }
})
await page.loadSection()
page.updateSecret(' smtp-test-only ')
page.updateField(['relay', 'password'], ' smtp-test-only ')
await page.validateConfig()
assert.equal(request.secretChanges['relay.password'].value.plaintext, ' smtp-test-only ')
})