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 0c085d21ce66425ce0c41a81ecbc8d9119e64623
parent dcaaa430f046a3c65b5c278d5c7f23b1092fe33e
Author: Nikolay Nikolaev <nikolaevn.home@gmail.com>
Date:   Thu, 30 Mar 2023 16:04:35 +0300

fmt

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

diff --git a/src/api/admin.rs b/src/api/admin.rs @@ -438,7 +438,7 @@ async fn remove_2fa(uuid: String, _token: AdminToken, mut conn: DbConn) -> Empty #[post("/users/<uuid>/invite/resend")] async fn resend_user_invite(uuid: String, _token: AdminToken, mut conn: DbConn) -> EmptyResult { - if let Some(user) = User::find_by_uuid(&uuid,&mut conn).await { + if let Some(user) = User::find_by_uuid(&uuid, &mut conn).await { if CONFIG.mail_enabled() { mail::send_invite(&user.email, &user.uuid, None, None, &CONFIG.invitation_org_name(), None).await } else {