Skip to content

Add trotelling to Recovery controller #600

Open

Description

@pral2a

Describe the bug
Looks like recovery password controller doesn't limit the number of requests, allowing someone to programatically use it to generate email spam or overload the SMTP service

To Reproduce
Steps to reproduce the behaviour:

  1. Go to https://www.fablabs.io/recoveries/new
  2. Type your email and click Reset password
  3. Repeat multiple times in a short period
  4. Check your inbox

Expected behaviour
Rate limit password resets by email to X amount per hour. Other limitation (ip) can also be used.

Additional context
The issue was reported by an unknown user at webmasters (at) fablabs.io. This is not a high priority issue.

image (4)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions