--- loncom/auth/checkauthen.pm 2006/06/02 19:29:21 1.3 +++ loncom/auth/checkauthen.pm 2006/08/30 21:35:08 1.6 @@ -1,7 +1,7 @@ # The LearningOnline Network # checks for a cokkie to authenticate a user # -# $Id: checkauthen.pm,v 1.3 2006/06/02 19:29:21 albertel Exp $ +# $Id: checkauthen.pm,v 1.6 2006/08/30 21:35:08 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -41,6 +41,9 @@ sub handler { } my $fail = FORBIDDEN; if ($r->dir_config('lonOtherAuthen') eq 'yes') { + if (defined($r->dir_config('lonOtherAuthenType'))) { + $r->auth_type($r->dir_config('lonOtherAuthenType')); + } #&Apache::lonnet::logthis("other authen"); $fail = DECLINED; } @@ -65,7 +68,6 @@ sub handler { return OK; } } - return $fail; }