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 f713e2e092c337496758c92bb69c6feea47428fc
parent f2ab25085d63d634d1abb85a8defeb229101a4bf
Author: Daniel GarcĂ­a <dani-garcia@users.noreply.github.com>
Date:   Tue, 11 Dec 2018 22:24:04 +0100

Merge pull request #284 from Algebro7/log_successful_logins

Close #264. Username and IP address is 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)) }