mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-05-22 16:14:20 -05:00
[PR #2165] [MERGED] Basic ratelimit for user login (including 2FA) and admin login #23930
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/2165
Author: @dani-garcia
Created: 12/22/2021
Status: ✅ Merged
Merged: 12/27/2021
Merged by: @dani-garcia
Base:
main← Head:ratelimit📝 Commits (2)
5529264Basic ratelimit for user login (including 2FA) and admin logind4eb21cBetter document the new rate limiting📊 Changes
8 files changed (+145 additions, -2 deletions)
View changed files
📝
.env.template(+11 -0)📝
Cargo.lock(+77 -2)📝
Cargo.toml(+1 -0)📝
src/api/admin.rs(+4 -0)📝
src/api/identity.rs(+3 -0)📝
src/config.rs(+10 -0)📝
src/main.rs(+1 -0)➕
src/ratelimit.rs(+38 -0)📄 Description
Might need to adjust the default rate limiting values and explain their use better.
Also needs to document their use in the .env template.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.