[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /auth lonauth.pm
raeburn
raeburn at source.lon-capa.org
Sun Jan 3 22:48:29 EST 2021
raeburn Mon Jan 4 03:48:29 2021 EDT
Modified files: (Branch: version_2_11_X)
/loncom/auth lonauth.pm
Log:
- For 2.11
Backport 1.162
Index: loncom/auth/lonauth.pm
diff -u loncom/auth/lonauth.pm:1.121.2.20 loncom/auth/lonauth.pm:1.121.2.21
--- loncom/auth/lonauth.pm:1.121.2.20 Fri Oct 23 21:21:44 2020
+++ loncom/auth/lonauth.pm Mon Jan 4 03:48:29 2021
@@ -1,7 +1,7 @@
# The LearningOnline Network
# User Authentication Module
#
-# $Id: lonauth.pm,v 1.121.2.20 2020/10/23 21:21:44 raeburn Exp $
+# $Id: lonauth.pm,v 1.121.2.21 2021/01/04 03:48:29 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -59,8 +59,9 @@
# -------------------------------------------------------------------- Log this
+ my $ip = &Apache::lonnet::get_requestor_ip();
&Apache::lonnet::log($domain,$username,$authhost,
- "Login $ENV{'REMOTE_ADDR'}");
+ "Login $ip");
# ------------------------------------------------- Check for critical messages
More information about the LON-CAPA-cvs
mailing list