Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] IP Limit Valid Time not working #186

Open
bobhenl opened this issue Dec 21, 2024 · 0 comments
Open

[BUG] IP Limit Valid Time not working #186

bobhenl opened this issue Dec 21, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@bobhenl
Copy link

bobhenl commented Dec 21, 2024

Describe the bug
Hello, there's issue with IP Limit Valid Time, because it's not working.

  ip-limit-registrations: 3
  totp-recovery-codes-amount: 16
  # Time in milliseconds, when ip limit works, set to 0 for disable.
  ip-limit-valid-time: 1296000000

image
all are registered since 3/12/2024 (less than a week)

First one is from 3/12 and the other three are from 7/12

Even when it should be limited for 15d for 3 accounts only (1296000000ms = 15d)

To Reproduce
Steps to reproduce the behavior:

  1. Set 'ip-limit-registrations' in config to '2' and ip-limit-valid-time to 1296000000.
  2. Try to make more than 2 accounts within 15d, just instantly make 3 accounts or more.
  3. You see you can make them.

Expected behavior
It shouldn't let you make new accounts.

Screenshots
image
in less than 15d 4 accounts while only 3 are allowed

Server Info (please complete the following information):

@bobhenl bobhenl added the bug Something isn't working label Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant