fix: check i18n are sorted (#18324)

This commit is contained in:
Jason Rasmussen
2025-05-15 17:55:16 -04:00
committed by GitHub
parent c046651f23
commit ecb66fdb2c
5 changed files with 83 additions and 39 deletions

View File

@@ -7,7 +7,7 @@ import { redirect } from '@sveltejs/kit';
import type { PageLoad } from './$types';
export const load = (async ({ params, url }) => {
await authenticate();
await authenticate(url);
const { isElevated, pinCode } = await getAuthStatus();
if (!isElevated || !pinCode) {

View File

@@ -4,7 +4,7 @@ import { getAuthStatus } from '@immich/sdk';
import type { PageLoad } from './$types';
export const load = (async ({ url }) => {
await authenticate();
await authenticate(url);
const { pinCode } = await getAuthStatus();