I'm trying to use
maxLoginAttemptson my user collection, but can't figure out where to use it. Am getting TypeScript underlines when I use it in the root of my
usercollection, and in the admin config of my
usercollection.
Hey
@334482715569291274,
maxLoginAttemptsgoes in the
authconfiguration of a collection. See the example here:
https://payloadcms.com/docs/authentication/overview#enabling-auth-on-a-collectionGreat thank you, I didn't even catch that
You're welcome!
Star
Discord
online
Get dedicated engineering support directly from the Payload team.