Payload is the open-source, fullstack Next.js framework, giving you instant backend superpowers. Get a full TypeScript backend and admin panel instantly. Use Payload as a headless CMS or for building powerful applications.
fix: allows for emails to be non unique when allowEmailLogin is false (#9541)
### What? When you prevent users from authenticating with their email, we should not enforce uniqueness on the email field. ### Why? We never set the unique property to false. ### How? Set the unique property to false if `loginWithUsername.allowEmailLogin` is `false`.
J
Jarrod Flesch committed
67a9d669b655d8af6cc5c256bd03bc18e42db630
Parent: f19053e
Committed by GitHub <noreply@github.com>
on 11/26/2024, 9:18:10 PM