mirror of
https://github.com/Jerryplusy/crystelf-plugin.git
synced 2025-10-13 21:29:19 +00:00
fix:修复管理员逻辑错误
This commit is contained in:
parent
9415f4fcc3
commit
4c77b4da7c
@ -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`, {
|
||||
|
Loading…
x
Reference in New Issue
Block a user