[LON-CAPA-cvs] cvs: loncom /xml lonxml.pm
raeburn
raeburn at source.lon-capa.org
Wed Mar 25 21:45:23 EDT 2026
raeburn Thu Mar 26 01:45:23 2026 EDT
Modified files:
/loncom/xml lonxml.pm
Log:
- Bug 6121. &get_user_digest() returns $uname, $udom (and digest), so uuid
can be retrieved from user's nohist_formfields.db to create form field.
Index: loncom/xml/lonxml.pm
diff -u loncom/xml/lonxml.pm:1.581 loncom/xml/lonxml.pm:1.582
--- loncom/xml/lonxml.pm:1.581 Tue Mar 17 16:07:09 2026
+++ loncom/xml/lonxml.pm Thu Mar 26 01:45:23 2026
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# XML Parser Module
#
-# $Id: lonxml.pm,v 1.581 2026/03/17 16:07:09 raeburn Exp $
+# $Id: lonxml.pm,v 1.582 2026/03/26 01:45:23 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2643,7 +2643,7 @@
$udom = $env{'user.domain'};
}
my $digest = &Digest::SHA::sha1_hex(&Encode::decode('UTF-8',$uname.':'.$udom));
- return $digest;
+ return ($uname,$udom,$digest);
}
1;
More information about the LON-CAPA-cvs
mailing list