Replies: 1 comment 10 replies
-
On a related note: It seems like there is no way to opt out of password strategy and if one implements a custom strategy one has to use a different collection for authentication or populate a random password. As in the google-one-tap strategy here - https://github.com/ScottEAdams/payload-plugin-google-one-tap/blob/main/src/payload/strategy.ts#L49 If a user is created with a strategy X, ideally we would also want to prevent them from logging in with password. I guess this might be possible with Would be nice to clean things up here, so password is the default strategy but still possible to opt-out of it. |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We should allow developers to declare a custom Password field on auth-enabled collections, wherein properties such as
validate
and similar are merged into our base Password field.This would be useful to create custom password validations, etc.
Beta Was this translation helpful? Give feedback.
All reactions