[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /auth lonlogout.pm
raeburn
raeburn at source.lon-capa.org
Sun Jan 3 22:49:52 EST 2021
raeburn Mon Jan 4 03:49:52 2021 EDT
Modified files: (Branch: version_2_11_X)
/loncom/auth lonlogout.pm
Log:
- For 2.11
Backport 1.57
Index: loncom/auth/lonlogout.pm
diff -u loncom/auth/lonlogout.pm:1.45.2.7 loncom/auth/lonlogout.pm:1.45.2.8
--- loncom/auth/lonlogout.pm:1.45.2.7 Sat Aug 3 22:52:25 2019
+++ loncom/auth/lonlogout.pm Mon Jan 4 03:49:52 2021
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Logout Handler
#
-# $Id: lonlogout.pm,v 1.45.2.7 2019/08/03 22:52:25 raeburn Exp $
+# $Id: lonlogout.pm,v 1.45.2.8 2021/01/04 03:49:52 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -82,11 +82,12 @@
&Apache::lonlocal::get_language_handle($r);
}
my %temp=('logout' => time);
+ my $ip = &Apache::lonnet::get_requestor_ip();
&Apache::lonnet::put('email_status',\%temp);
&Apache::lonnet::log($env{'user.domain'},
$env{'user.name'},
$env{'user.home'},
- "Logout $ENV{'REMOTE_ADDR'}");
+ "Logout $ip");
&Apache::loncommon::content_type($r,'text/html');
More information about the LON-CAPA-cvs
mailing list