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 29c6b145ca40e5bc125f2fb7f00b3ef5dca90d87
parent a7a479623c6f23243c5d242d08a92ccf3fb5bc0c
Author: Daniel GarcĂ­a <dani-garcia@users.noreply.github.com>
Date:   Tue, 11 Aug 2020 16:48:15 +0200

Remove redundant user fetching from login

Diffstat:
Msrc/api/identity.rs | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/src/api/identity.rs b/src/api/identity.rs @@ -147,7 +147,6 @@ fn _password_login(data: ConnectData, conn: DbConn, ip: &ClientIp) -> JsonResult } // Common - let user = User::find_by_uuid(&device.user_uuid, &conn).unwrap(); let orgs = UserOrganization::find_by_user(&user.uuid, &conn); let (access_token, expires_in) = device.refresh_tokens(&user, orgs);