mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-03-07 18:53:12 +08:00
When `show_password_hint` is enabled but mail is not configured, the previous implementation returned a differentiable response for non-existent email addresses. Even if mail is enabled, there is a timing side channel since mail is sent synchronously. Add a randomized sleep to mitigate this somewhat.