--- loncom/auth/checkauthen.pm 2013/12/13 02:10:27 1.14 +++ loncom/auth/checkauthen.pm 2014/01/05 11:30:06 1.15 @@ -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 @@ sub handler { } 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;