Allow local API login
without password
#3020
Closed
mstone121
started this conversation in
Feature Requests & Ideas
Replies: 1 comment
-
Duplicate of #2895 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to have the option to log the user in without a password. This is useful if you have custom authentication that doesn't play well with passport or other currently support payload integrations but you still want to keep local auth enabled.
Essentially, all I'm asking for is the ability to run this section of code (minus the
beforeLogin
hook) without the password check that happens earlier:payload/src/auth/operations/login.ts
Lines 124 to 162 in cd0bf68
See also #1340, #1340 (reply in thread)
Beta Was this translation helpful? Give feedback.
All reactions