pas_clr 修复 #45

This commit is contained in:
728
2023-12-15 12:43:28 +08:00
parent 84a47c7ce0
commit 97ce59111c

View File

@ -139,7 +139,7 @@ export async function psg(
const r = await pas_code(p.nbr, p.code)
if (r) return { ret: r.pas, jwt: r.jwt }
break
} case "clr": return { ret: await pas_clr(p.usr), jwt: null }
} case "clr": return { ret: pas && pas.usr == p.usr ? await pas_clr(p.usr) : null, jwt: null }
}
return { ret: null }
}