Improve protected actions #309

Closed
opened 2026-04-05 20:51:29 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @dani-garcia on 10/29/2025

  • Use saturating ops when counting the attempts
  • Use #[serde(with = "ts_seconds")] to simplify parsing of DB data, and add functions to simplify time handling code.
  • Rate limit email sending.
  • Use email_attempts_limit rather than hardcoded limit
*Originally created by @dani-garcia on 10/29/2025* - Use saturating ops when counting the attempts - Use `#[serde(with = "ts_seconds")]` to simplify parsing of DB data, and add functions to simplify time handling code. - Rate limit email sending. - Use `email_attempts_limit` rather than hardcoded limit
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/vaultwarden#309