mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-06-02 16:09:34 +02: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.