summaryrefslogtreecommitdiff
path: root/overlays/spm/frontend
diff options
context:
space:
mode:
Diffstat (limited to 'overlays/spm/frontend')
-rw-r--r--overlays/spm/frontend/src/app/spm/spm.component.ts4
1 files changed, 2 insertions, 2 deletions
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 {
36} 36}
37 37
38export interface SpmJwtUnregisteredPayload { 38export interface SpmJwtUnregisteredPayload {
39 local: string; 39 'li.yggdrasil.local': string;
40} 40}
41 41
42type SpmJwtPayload = JwtPayload & SpmJwtUnregisteredPayload; 42type SpmJwtPayload = JwtPayload & SpmJwtUnregisteredPayload;
@@ -136,7 +136,7 @@ export class SpmComponent implements OnInit, OnDestroy {
136 const curr: Map<string, SpmMail> = this.spmMails$.getValue(); 136 const curr: Map<string, SpmMail> = this.spmMails$.getValue();
137 curr.set(k, { 137 curr.set(k, {
138 state: 'loaded', 138 state: 'loaded',
139 local: payload.local, 139 local: payload['li.yggdrasil.local'],
140 domain: payload.aud, 140 domain: payload.aud,
141 jwt: encoded, 141 jwt: encoded,
142 expiration: payload.exp ? new Date(1000 * payload.exp) : undefined, 142 expiration: payload.exp ? new Date(1000 * payload.exp) : undefined,