[LON-CAPA-cvs] cvs: loncom /auth checkauthen.pm
raeburn
raeburn at source.lon-capa.org
Sun Jan 5 06:30:06 EST 2014
raeburn Sun Jan 5 11:30:06 2014 EDT
Modified files:
/loncom/auth checkauthen.pm
Log:
- Direct access (after successful authentication) if the orginal URL does not
require a role (User Prefences or Course Requests).
Index: loncom/auth/checkauthen.pm
diff -u loncom/auth/checkauthen.pm:1.14 loncom/auth/checkauthen.pm:1.15
--- loncom/auth/checkauthen.pm:1.14 Fri Dec 13 02:10:27 2013
+++ loncom/auth/checkauthen.pm Sun Jan 5 11:30:06 2014
@@ -1,7 +1,7 @@
# The LearningOnline Network
# checks for a cokkie to authenticate a user
#
-# $Id: checkauthen.pm,v 1.14 2013/12/13 02:10:27 raeburn Exp $
+# $Id: checkauthen.pm,v 1.15 2014/01/05 11:30:06 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -97,7 +97,9 @@
}
return OK;
}
- if (($fail == FORBIDDEN) && ($r->uri eq '/adm/email')) {
+ if (($fail == FORBIDDEN) &&
+ (($r->uri eq '/adm/email') || ($r->uri eq '/adm/preferences') ||
+ ($r->uri eq '/adm/requestcourse'))) {
$env{'form.firsturl'} = $r->uri;
}
return $fail;
More information about the LON-CAPA-cvs
mailing list