diff --git a/components/Login/screens/server-authentication.tsx b/components/Login/screens/server-authentication.tsx index 7516dc3d..bad64c37 100644 --- a/components/Login/screens/server-authentication.tsx +++ b/components/Login/screens/server-authentication.tsx @@ -29,7 +29,7 @@ export default function ServerAuthentication({ const useApiMutation = useMutation({ mutationFn: async (credentials: JellyfinCredentials) => { - return await Client.api!.authenticateUserByName(credentials.username, credentials.password!); + return await Client.api!.authenticateUserByName(credentials.username, credentials.password); }, onSuccess: async (authResult) => { @@ -107,7 +107,7 @@ export default function ServerAuthentication({ )}