-
-
Notifications
You must be signed in to change notification settings - Fork 185
Closed
Labels
bugA bug that needs to be resolvedA bug that needs to be resolvedpendingAn issue waiting for triageAn issue waiting for triage
Description
Environment
- Operating System: Windows_NT
- Node Version: v22.11.0
- Nuxt Version: 3.14.1592
- CLI Version: 3.17.1
- Nitro Version: 2.10.4
- Package Manager: [email protected]
- Builder: -
- User Config: default
- Runtime Modules: @primevue/[email protected], @nuxt/[email protected], @nuxt/[email protected], @sidebase/[email protected]
- Build Modules: -
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 to false
, as shown in the example:
nuxt-auth/docs/guide/local/quick-start.md
Line 62 in 8d31537
signUp: false |
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:
nuxt-auth/src/runtime/types.ts
Line 93 in 8d31537
signUp?: { path?: string, method?: RouterMethod } |
Additional context
No response
Logs
No response
Metadata
Metadata
Assignees
Labels
bugA bug that needs to be resolvedA bug that needs to be resolvedpendingAn issue waiting for triageAn issue waiting for triage