From 9b6bd0f872149aa811dee8ee0cdb0cd41bbe5224 Mon Sep 17 00:00:00 2001 From: The PCI ID Mail Robot Date: Thu, 7 Jul 2016 19:51:17 +0200 Subject: [PATCH] PciIds::Users: Update for Apache 2.4 remote_ip() no longer exists. --- PciIds/Users.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PciIds/Users.pm b/PciIds/Users.pm index 6c660d2..bf6ced2 100644 --- a/PciIds/Users.pm +++ b/PciIds/Users.pm @@ -85,7 +85,7 @@ sub changePasswd( $$$$ ) { sub genAuthToken( $$$$$ ) { my( $tables, $id, $req, $rights, $name ) = @_; unless( defined $rights ) {#Just logged in - my $from = $req->connection()->remote_ip(); + my $from = $req->useragent_ip(); $tables->setLastLog( $id, $from ); $rights = $tables->rights( $id ); } -- 2.39.2