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 e26e2319da6a6197348ac077a9a337cf976d2c85
parent 7adc045b806960f0f8f3eb2968672eabed586620
Author: algebro <algebro@tuta.io>
Date:   Tue, 11 Dec 2018 15:20:06 -0500

Close #264. Usernames and IP addresses are logged on successful authentication

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

diff --git a/src/api/identity.rs b/src/api/identity.rs @@ -129,6 +129,7 @@ fn _password_login(data: ConnectData, conn: DbConn, ip: ClientIp) -> JsonResult result["TwoFactorToken"] = Value::String(token); } + info!("User {} logged in successfully. IP: {}", username, ip.ip); Ok(Json(result)) }