-
- Notifications
You must be signed in to change notification settings - Fork 186
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: yarn@4.0.1
- Builder: -
- User Config: default
- Runtime Modules: @primevue/nuxt-module@4.2.5, @nuxt/eslint@0.7.4, @nuxt/fonts@0.10.3, @sidebase/nuxt-auth@0.10.0
- 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
