Skip to content

config: defaults for account opertion rate-limit #549

@slint

Description

@slint

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions