diff --git a/ismism.ts/src/pra/pas.ts b/ismism.ts/src/pra/pas.ts index 9697bff..9003348 100644 --- a/ismism.ts/src/pra/pas.ts +++ b/ismism.ts/src/pra/pas.ts @@ -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 } }