Join Discord
Powered by
<@498057949541826571> i sign in email or password...
# support-questions-legacy
j
jagdish9888
12/22/2023, 4:27 AM
@rp_st
i sign in email or password using emailpassword recipe.if password wrong how to block login some time attempts in supertoken?
r
rp_st
12/22/2023, 5:24 AM
hey
@jagdish9888
rp_st
12/22/2023, 5:25 AM
you can do that by overriding the email password recipe function (in override.functions) and then keeping track of the number of times login failed yourself. If the limit has been reached, send a general error to the frontend (
https://supertokens.com/docs/emailpassword/advanced-customizations/apis-override/custom-response/general-error
)
j
jagdish9888
12/22/2023, 8:24 AM
it is possible any solution in docker self hosted?
r
rp_st
12/22/2023, 8:31 AM
it's a backend sdk config.. i suggest you see our architecture and docs
3
Views
Previous
Next