fix:修复管理员逻辑错误

This commit is contained in:
Jerry 2025-10-05 23:31:02 +08:00
parent 9415f4fcc3
commit 4c77b4da7c

View File

@ -132,7 +132,7 @@ export class CarbonAuth extends plugin {
const groupCfg = cfg.groups[group_id] || cfg.default;
if (!groupCfg.enable) return;
const key = `${group_id}_${user_id}`;
this.pending.set(key, 1); //初始化
if (groupCfg.carbon.enable) {
try {
const res = await axios.post(`${cfg.url}/captcha/chiralCarbon/getChiralCarbonCaptcha`, {