[LON-CAPA-cvs] cvs: loncom /auth checkauthen.pm
raeburn
raeburn at source.lon-capa.org
Fri Sep 18 07:43:05 EDT 2015
raeburn Fri Sep 18 11:43:05 2015 EDT
Modified files:
/loncom/auth checkauthen.pm
Log:
- Bug 6800
Index: loncom/auth/checkauthen.pm
diff -u loncom/auth/checkauthen.pm:1.17 loncom/auth/checkauthen.pm:1.18
--- loncom/auth/checkauthen.pm:1.17 Sat May 17 22:44:11 2014
+++ loncom/auth/checkauthen.pm Fri Sep 18 11:43:05 2015
@@ -1,7 +1,7 @@
# The LearningOnline Network
# checks for a cookie to authenticate a user
#
-# $Id: checkauthen.pm,v 1.17 2014/05/17 22:44:11 raeburn Exp $
+# $Id: checkauthen.pm,v 1.18 2015/09/18 11:43:05 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -50,6 +50,13 @@
return OK;
}
+ if ($r->uri() =~ m{^/res/adm/pages/reactionresponse/[^/]+\.html$}) {
+ if ($r->user() eq '') {
+ $r->user('public:public');
+ }
+ return OK;
+ }
+
if ($r->auth_type() ne 'LONCAPA') {
return DECLINED;
}
More information about the LON-CAPA-cvs
mailing list