-
Notifications
You must be signed in to change notification settings - Fork 2.4k
auth.disableLocalStrategy
should accept false
as a value
#9197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Please add a reproduction in order for us to be able to investigate. Depending on the quality of reproduction steps, this issue may be closed if no reproduction is provided. Why was this issue marked with the
|
Hi @tyteen4a03, thanks for raising this! I can see why you'd want to do this, but in this case, the type is intentionally optional — so instead of passing E.g. That will have the same effect and will fit within the current type definitions. |
Describe the Bug
The current type definitions do not accept
disableLocalStrategy
asfalse
. This breaks scenarios such asdisableLocalStrategy: process.env.NODE_ENV === 'production'
.Link to the code that reproduces this issue
N/A
Reproduction Steps
Specify
false
as a value fordisableLocalStrategy
.Which area(s) are affected? (Select all that apply)
area: core
Environment Info
The text was updated successfully, but these errors were encountered: