[LON-CAPA-cvs] cvs: loncom /interface loncommon.pm
raeburn
raeburn at source.lon-capa.org
Wed Nov 7 14:23:46 EST 2018
raeburn Wed Nov 7 19:23:46 2018 EDT
Modified files:
/loncom/interface loncommon.pm
Log:
- Log failure to generate CAPTCHA image, using Authen::Captcha.
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.1322 loncom/interface/loncommon.pm:1.1323
--- loncom/interface/loncommon.pm:1.1322 Tue Nov 6 15:37:37 2018
+++ loncom/interface/loncommon.pm Wed Nov 7 19:23:45 2018
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common routines
#
-# $Id: loncommon.pm,v 1.1322 2018/11/06 15:37:37 raeburn Exp $
+# $Id: loncommon.pm,v 1.1323 2018/11/07 19:23:45 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -17799,6 +17799,9 @@
last;
}
}
+ if ($output eq '') {
+ &Apache::lonnet::logthis("Failed to create Captcha code after $tries attempts.");
+ }
return $output;
}
More information about the LON-CAPA-cvs
mailing list