diff --git a/src/runtime/composables/local/useAuth.ts b/src/runtime/composables/local/useAuth.ts index b1e1f43b..0cb13a04 100644 --- a/src/runtime/composables/local/useAuth.ts +++ b/src/runtime/composables/local/useAuth.ts @@ -6,6 +6,7 @@ import { _fetch } from '../../utils/fetch' import { determineCallbackUrl } from '../../utils/url' import { getRequestURLWN } from '../common/getRequestURL' import { formatToken } from './utils/token' +import { ERROR_PREFIX } from '../../utils/logger' import { type UseAuthStateReturn, useAuthState } from './useAuthState' import { callWithNuxt } from '#app/nuxt' // @ts-expect-error - #auth not defined @@ -169,6 +170,7 @@ async function signUp(credentials: Credentials, signInOptions?: SecondarySignInO const signUpEndpoint = config.endpoints.signUp if (!signUpEndpoint) { + console.warn(`${ERROR_PREFIX} provider.endpoints.signUp is disabled.`) return }