I've been trying to find information in the docs b...
# community
w
I've been trying to find information in the docs but haven't come across the answer yet. For the username + password recipe is there support for being able to lock an account out after N number of failed login attempts? Also, are login attempts logged anywhere so that we can integrate that information in audits and dashboards?
r
hey @WonderPandaDev
w
Hi!
r
this can be implemented by overriding the sign in recipe function
w
Okay cool, thank you for this info
r
in which you call the original implementation first and if that fails, then you increment some counter if that fails. If the counter has reached a limit, then you can check that before calling the original impl, and reject the sign in attempt.
w
Beautiful! I love the extensibility
4 Views