From b00d1c145a858f65092136f348821d0f28b56b01 Mon Sep 17 00:00:00 2001 From: Brady Miller Date: Sat, 20 Oct 2018 17:12:55 -0700 Subject: [PATCH] log ip improve (#1928) --- interface/usergroup/user_info.php | 1 - library/auth.inc | 1 - library/authentication/login_operations.php | 13 ++++++++----- library/sanitize.inc.php | 18 ++++++++++++++++++ 4 files changed, 26 insertions(+), 7 deletions(-) diff --git a/interface/usergroup/user_info.php b/interface/usergroup/user_info.php index 715723781..47e4bb8f7 100644 --- a/interface/usergroup/user_info.php +++ b/interface/usergroup/user_info.php @@ -59,7 +59,6 @@ function update_password() $stringIp, + 'ip' => $mainIp, + 'forward_ip' => $forwardIp + ); +} + // Function to create a random unique token // Length is in bytes that the openssl_random_pseudo_bytes() function will create function createUniqueToken($length = 32) -- 2.11.4.GIT