1
0
Fork 0

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

Dieser Commit ist enthalten in:
algebro 2018-12-11 15:20:06 -05:00
Ursprung 7adc045b80
Commit e26e2319da

Datei anzeigen

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