mirror of
https://github.com/dani-garcia/vaultwarden.wiki.git
synced 2026-07-29 14:05:04 +03:00
Trusted proxies, unauthenticated rate limits and various fixes
This commit is contained in:
+3
-2
@@ -113,8 +113,9 @@ impl SendTokens {
|
||||
}
|
||||
}
|
||||
|
||||
send.access_count += 1;
|
||||
send.save(conn).await?;
|
||||
if !send.register_access(conn).await? {
|
||||
return Self::invalid_error(&format!("Send {send_id}, max access reached"), "send_id_invalid", true);
|
||||
}
|
||||
|
||||
Ok(Self {
|
||||
access_claims: generate_send_access_claims(&send_id),
|
||||
|
||||
Reference in New Issue
Block a user