feat(安全): 添加验证码和登录安全增强功能

新增验证码功能用于敏感操作,包括删除账号、修改密码等
添加登录失败锁定机制和限流策略
实现防重放攻击和XSS防护增强
重构XSS拦截器使用请求包装器
This commit is contained in:
ikmkj
2026-03-03 17:49:50 +08:00
parent 5a24569ebd
commit 23929a974f
13 changed files with 763 additions and 26 deletions

View File

@@ -42,7 +42,7 @@ const initVditor = () => {
if (vditor.value) {
vditor.value.destroy();
}
vditor.value = new Vditor('vditor-editor', {
height: 'calc(100vh - 120px)',
mode: 'ir',