Do we want to have a "sane" default for:
ACCOUNTS_FORGOT_PASSWORD_EMAIL_RATELIMIT
ACCOUNTS_LOGIN_RATELIMIT
ACCOUNTS_SEND_CONFIRMATION_RATELIMIT
Context
We're not sure if Flask-Limiter is enabled by default in all instances... In invenio-app we always initialize the extension, but not sure if there's another config flag that actually "enables" it.
We wanted to go around this assumption by not configuring any of the limits here. This is something we could do e.g. in invenio-app-rdm though where we have already configured e.g. Redis for the rate-limiting storage.
Originally posted by @ntarocco in #544 (comment)
Do we want to have a "sane" default for:
ACCOUNTS_FORGOT_PASSWORD_EMAIL_RATELIMITACCOUNTS_LOGIN_RATELIMITACCOUNTS_SEND_CONFIRMATION_RATELIMITContext
We're not sure if Flask-Limiter is enabled by default in all instances... In
invenio-appwe always initialize the extension, but not sure if there's another config flag that actually "enables" it.We wanted to go around this assumption by not configuring any of the limits here. This is something we could do e.g. in
invenio-app-rdmthough where we have already configured e.g. Redis for the rate-limiting storage.Originally posted by @ntarocco in #544 (comment)