pas_clr 修复 #45
This commit is contained in:
@ -139,7 +139,7 @@ export async function psg(
|
|||||||
const r = await pas_code(p.nbr, p.code)
|
const r = await pas_code(p.nbr, p.code)
|
||||||
if (r) return { ret: r.pas, jwt: r.jwt }
|
if (r) return { ret: r.pas, jwt: r.jwt }
|
||||||
break
|
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 }
|
return { ret: null }
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user