vw_small

Hardened fork of Vaultwarden (https://github.com/dani-garcia/vaultwarden) with fewer features.
git clone https://git.philomathiclife.com/repos/vw_small
Log | Files | Refs | README

commit 3dbfc484a54c41d1759646444b439da06445060b
parent ab65d7989b0a51c72412b5023d8ca71daade0a1f
Author: Daniel GarcĂ­a <dani-garcia@users.noreply.github.com>
Date:   Mon, 17 Jul 2023 18:22:56 +0200

Merge pull request #3704 from BlackDex/remove-debug-code

Remove debug code during attachment download
Diffstat:
Msrc/api/web.rs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/api/web.rs b/src/api/web.rs @@ -94,7 +94,7 @@ async fn web_files(p: PathBuf) -> Cached<Option<NamedFile>> { #[get("/attachments/<uuid>/<file_id>?<token>")] async fn attachments(uuid: SafeString, file_id: SafeString, token: String) -> Option<NamedFile> { - let Ok(claims) = dbg!(decode_file_download(&token)) else { return None }; + let Ok(claims) = decode_file_download(&token) else { return None }; if claims.sub != *uuid || claims.file_id != *file_id { return None; }