diff --git a/frontend/composables/useMealieAuth.ts b/frontend/composables/useMealieAuth.ts index 41e3a63c4..6e73c1a0d 100644 --- a/frontend/composables/useMealieAuth.ts +++ b/frontend/composables/useMealieAuth.ts @@ -37,11 +37,6 @@ export const useMealieAuth = function () { { immediate: true }, ); - async function signIn(...params: Parameters) { - await auth.signIn(...params); - refreshCookie(useRuntimeConfig().public.AUTH_TOKEN); - } - async function oauthSignIn() { const params = new URLSearchParams(window.location.search); const { data: token } = await $axios.get<{ access_token: string; token_type: "bearer" }>("/api/auth/oauth/callback", { params }); @@ -52,7 +47,7 @@ export const useMealieAuth = function () { return { user, loggedIn, - signIn, + signIn: auth.signIn, signOut: auth.signOut, signUp: auth.signUp, refresh: auth.refresh,