1
0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2024-09-20 01:11:32 +02:00

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

This commit is contained in:
algebro 2018-12-11 15:20:06 -05:00
parent 7adc045b80
commit e26e2319da

View File

@ -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))
}