[LON-CAPA-cvs] cvs: loncom /auth switchserver.pm
raeburn
raeburn at source.lon-capa.org
Sun Jan 3 18:53:15 EST 2021
raeburn Sun Jan 3 23:53:15 2021 EDT
Modified files:
/loncom/auth switchserver.pm
Log:
- Retrieval of requestor's IP address centralized in lonnet::get_requestor_ip()
Index: loncom/auth/switchserver.pm
diff -u loncom/auth/switchserver.pm:1.52 loncom/auth/switchserver.pm:1.53
--- loncom/auth/switchserver.pm:1.52 Fri Dec 18 15:23:03 2020
+++ loncom/auth/switchserver.pm Sun Jan 3 23:53:15 2021
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Switch Servers Handler
#
-# $Id: switchserver.pm,v 1.52 2020/12/18 15:23:03 raeburn Exp $
+# $Id: switchserver.pm,v 1.53 2021/01/03 23:53:15 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -257,7 +257,7 @@
$otherbalcookie = $env{'request.balancercookie'};
}
- my %info=('ip' => $ENV{'REMOTE_ADDR'},
+ my %info=('ip' => $ip,
'domain' => $env{'user.domain'},
'username' => $env{'user.name'},
'home' => $env{'user.home'},
More information about the LON-CAPA-cvs
mailing list