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 38104ba7cfdf6583b3efd3a67134d88d81af3f41
parent c42bcae22471b04569c999ada30d93dc82668763
Author: Jeremy Lin <jeremy.lin@gmail.com>
Date:   Sat, 15 May 2021 22:46:37 -0700

`cargo fmt` changes

The PR build seems to fail without this...

Diffstat:
Msrc/api/admin.rs | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/api/admin.rs b/src/api/admin.rs @@ -308,7 +308,8 @@ fn invite_user(data: Json<InviteData>, _token: AdminToken, conn: DbConn) -> Json } user.save(&conn) - })().map_err(|e| e.with_code(Status::InternalServerError.code))?; + })() + .map_err(|e| e.with_code(Status::InternalServerError.code))?; Ok(Json(user.to_json(&conn))) }