diff --git a/src/components/Login/JellyfinLogin.tsx b/src/components/Login/JellyfinLogin.tsx index f7778453a..01278e4a9 100644 --- a/src/components/Login/JellyfinLogin.tsx +++ b/src/components/Login/JellyfinLogin.tsx @@ -216,19 +216,18 @@ const JellyfinLogin = ({ revalidate, serverType }: JellyfinLoginProps) => { ); }} - { -
- -
- } + +
+ +
{showQuickConnect && ( { - await axios.post('/api/v1/auth/jellyfin/quickconnect', { + await axios.post('/api/v1/auth/jellyfin/quickconnect/authenticate', { secret, }); onAuthenticated(); diff --git a/src/hooks/useQuickConnect.ts b/src/hooks/useQuickConnect.ts index 933d09465..642ff2f15 100644 --- a/src/hooks/useQuickConnect.ts +++ b/src/hooks/useQuickConnect.ts @@ -60,7 +60,7 @@ export const useQuickConnect = ({ if (!isMounted.current) return; const errMsg = - error?.response?.data?.errorMessage || + error?.response?.data?.message || intl.formatMessage(messages.errorMessage); setErrorMessage(errMsg); setHasError(true);