From 3832bf5daed8b4a3fc87153590131730daa4e88c Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 23 Sep 2023 15:33:30 +0200 Subject: ... --- overlays/spm/frontend/src/app/spm/spm.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'overlays/spm/frontend') diff --git a/overlays/spm/frontend/src/app/spm/spm.component.ts b/overlays/spm/frontend/src/app/spm/spm.component.ts index f6892d7c..361a1ce4 100644 --- a/overlays/spm/frontend/src/app/spm/spm.component.ts +++ b/overlays/spm/frontend/src/app/spm/spm.component.ts @@ -36,7 +36,7 @@ export interface ClaimedSpmMail { } export interface SpmJwtUnregisteredPayload { - local: string; + 'li.yggdrasil.local': string; } type SpmJwtPayload = JwtPayload & SpmJwtUnregisteredPayload; @@ -136,7 +136,7 @@ export class SpmComponent implements OnInit, OnDestroy { const curr: Map = this.spmMails$.getValue(); curr.set(k, { state: 'loaded', - local: payload.local, + local: payload['li.yggdrasil.local'], domain: payload.aud, jwt: encoded, expiration: payload.exp ? new Date(1000 * payload.exp) : undefined, -- cgit v1.2.3