diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2023-09-23 15:33:30 +0200 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2023-09-23 15:33:30 +0200 |
| commit | 3832bf5daed8b4a3fc87153590131730daa4e88c (patch) | |
| tree | 49b30717e86de623d00cec243ef84138e339716c /overlays/spm/frontend | |
| parent | 83549be4db488711263808a54afd2652d6d99ca9 (diff) | |
| download | nixos-3832bf5daed8b4a3fc87153590131730daa4e88c.tar nixos-3832bf5daed8b4a3fc87153590131730daa4e88c.tar.gz nixos-3832bf5daed8b4a3fc87153590131730daa4e88c.tar.bz2 nixos-3832bf5daed8b4a3fc87153590131730daa4e88c.tar.xz nixos-3832bf5daed8b4a3fc87153590131730daa4e88c.zip | |
...
Diffstat (limited to 'overlays/spm/frontend')
| -rw-r--r-- | overlays/spm/frontend/src/app/spm/spm.component.ts | 4 |
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 | ||
| 38 | export interface SpmJwtUnregisteredPayload { | 38 | export interface SpmJwtUnregisteredPayload { |
| 39 | local: string; | 39 | 'li.yggdrasil.local': string; |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | type SpmJwtPayload = JwtPayload & SpmJwtUnregisteredPayload; | 42 | type 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, |
