Skip to content

Login attempts not working? #1455

Answered by edtorba
edtorba asked this question in Q&A
Discussion options

You must be logged in to vote

Turns out it is working just fine...

Annoyingly @ https://payloadcms.com/docs/authentication/config it didn't state that lockTime is defined in ms and I simply assumed that it is seconds as two rows above tokenExpiration is in fact configured in seconds.

Spotted that it is meant to be in ms @ https://payloadcms.com/docs/production/preventing-abuse.

Suggestion for the documentation - maybe it's worth having an additional column(s), e.g. default values, expected units, etc.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by edtorba
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant