mirror of
https://github.com/immich-app/immich.git
synced 2025-12-20 17:25:35 +03:00
fix: check i18n are sorted (#18324)
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user