You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mailu/core/admin
bors[bot] aea7407044
Merge #2646
2646: Smarter ratelimit r=mergify[bot] a=nextgens

## What type of PR?

enhancement

## What does this PR do?

Only account for **distinct** usernames in the IP rate-limiter.

This enables to have a much tighter default as a user with a misconfigured device will now only account for a single attempt.

The goal here is to make the rate-limiter more acceptable and to avoid people disabling it altogether.

### Related issue(s)

## Prerequisites
Before we can consider review and merge, please make sure the following list is done and checked.
If an entry in not applicable, you can check it or remove it from the list.

- [ ] In case of feature or enhancement: documentation updated accordingly
- [x] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/workflow.html#changelog) entry file.


Co-authored-by: Florent Daigniere <nextgens@freenetproject.org>
Co-authored-by: Alexander Graf <ghostwheel42@users.noreply.github.com>
2 years ago
..
assets Move version style to app.css 2 years ago
mailu Merge #2646 2 years ago
migrations Fix DB downgrade 2 years ago
.gitignore Add shell script to run admin dev environment 2 years ago
Dockerfile Merge branch 'master' of https://github.com/Mailu/Mailu into reduce-logging 2 years ago
README.md Move all directories per theme 7 years ago
audit.py Move even more python deps to base image 2 years ago
babel.cfg Move all directories per theme 7 years ago
messages.pot Fix a bunch of typos 2 years ago
run_dev.sh Update python dependencies as suggested by dependabot 2 years ago
start.py Rewrite generation of gunicorn cmdline 2 years ago

README.md

Mailu Admin container

This is the web-based administrative interface for the Mailu containerized mail server.

Resources