[PR #2165] [MERGED] Basic ratelimit for user login (including 2FA) and admin login #3060

Closed
opened 2026-03-03 09:25:40 +03:00 by kerem · 0 comments
Owner

📋 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: mainHead: ratelimit


📝 Commits (2)

  • 5529264 Basic ratelimit for user login (including 2FA) and admin login
  • d4eb21c Better 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.

## 📋 Pull Request Information **Original PR:** https://github.com/dani-garcia/vaultwarden/pull/2165 **Author:** [@dani-garcia](https://github.com/dani-garcia) **Created:** 12/22/2021 **Status:** ✅ Merged **Merged:** 12/27/2021 **Merged by:** [@dani-garcia](https://github.com/dani-garcia) **Base:** `main` ← **Head:** `ratelimit` --- ### 📝 Commits (2) - [`5529264`](https://github.com/dani-garcia/vaultwarden/commit/5529264c3f35215e58758c25c9682e9ef38957ec) Basic ratelimit for user login (including 2FA) and admin login - [`d4eb21c`](https://github.com/dani-garcia/vaultwarden/commit/d4eb21c2d9735e05041ecfc984974aaaec941123) Better document the new rate limiting ### 📊 Changes **8 files changed** (+145 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `.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) </details> ### 📄 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 09:25:40 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vaultwarden#3060
No description provided.