diff options
| author | Adam Soltys <[email protected]> | 2024-09-25 12:50:46 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-09-25 12:50:46 -0700 |
| commit | 4209b78957d89f4ed906ac7a16f45aa0b28ab9ba (patch) | |
| tree | 1768a9f0a25c2ee0a847d5ce0174ab3cfcf6ba77 /src/routes/(app)/+layout.server.ts | |
| parent | fca8075a58ecf3fdc72576abbe64d62da8e5ee29 (diff) | |
| download | coinos-ui-4209b78957d89f4ed906ac7a16f45aa0b28ab9ba.tar.gz coinos-ui-4209b78957d89f4ed906ac7a16f45aa0b28ab9ba.zip | |
invoice fixes
Diffstat (limited to 'src/routes/(app)/+layout.server.ts')
| -rw-r--r-- | src/routes/(app)/+layout.server.ts | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/routes/(app)/+layout.server.ts b/src/routes/(app)/+layout.server.ts index 0901cb5d..36381082 100644 --- a/src/routes/(app)/+layout.server.ts +++ b/src/routes/(app)/+layout.server.ts @@ -24,9 +24,6 @@ export async function load({ cookies, request, url, params }) { } } - if (!subject) subject = user; - if (!user) user = subject; - if (user?.needsMigration) { redirect(307, `/migrate`); } |
