feat(web): continue after login (#18302)

This commit is contained in:
Jason Rasmussen
2025-05-15 14:45:23 -04:00
committed by GitHub
parent 6117329057
commit c046651f23
34 changed files with 65 additions and 63 deletions
@@ -3,8 +3,8 @@ import { getFormatter } from '$lib/utils/i18n';
import { getConfig } from '@immich/sdk';
import type { PageLoad } from './$types';
export const load = (async () => {
await authenticate({ admin: true });
export const load = (async ({ url }) => {
await authenticate(url, { admin: true });
const configs = await getConfig();
const $t = await getFormatter();