You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get type error, when signUp endpoint is set to false in local provider options.
Error text:
Type 'false' has no properties in common with type '{ path?: string | undefined; method?: "head" | "get" | "patch" | "post" | "put" | "delete" | "connect" | "options" | "trace" | undefined; }'.ts(2559)
I assume that this happens because of this line of code:
Environment
Reproduction
https://stackblitz.com/edit/github-ti8md3c4?file=nuxt.config.ts%3AL11
Describe the bug
In the documentation it says that
signUp
endpoint can be disabled by setting it tofalse
, as shown in the example:nuxt-auth/docs/guide/local/quick-start.md
Line 62 in 8d31537
I get type error, when
signUp
endpoint is set tofalse
inlocal
provider options.Error text:
I assume that this happens because of this line of code:
nuxt-auth/src/runtime/types.ts
Line 93 in 8d31537
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: