Diff for /loncom/auth/checkauthen.pm between versions 1.15 and 1.16

version 1.15, 2014/01/05 11:30:06 version 1.16, 2014/05/17 21:43:55
Line 38  sub handler { Line 38  sub handler {
   
     if ($r->uri() =~ m{^/res/adm/pages/[^/]+\.(gif|png)$}) {      if ($r->uri() =~ m{^/res/adm/pages/[^/]+\.(gif|png)$}) {
         if ($r->user() eq '') {          if ($r->user() eq '') {
             $r->user('public');              $r->user('public:public');
         }          }
         return OK;          return OK;
     }      }
   
     if (&Apache::lonnet::is_domainimage($r->uri)) {      if (&Apache::lonnet::is_domainimage($r->uri)) {
         if ($r->user() eq '') {          if ($r->user() eq '') {
             $r->user('public');              $r->user('public:public');
         }          }
         return OK;          return OK;
     }      }
Line 66  sub handler { Line 66  sub handler {
  && $env{'user.domain'} eq 'public') {   && $env{'user.domain'} eq 'public') {
  if ($env{'request.publicaccess'} ) {   if ($env{'request.publicaccess'} ) {
             if ($r->user() eq '') {              if ($r->user() eq '') {
                 $r->user('public');                  $r->user('public:public');
             }              }
     return OK;      return OK;
  } else {   } else {

Removed from v.1.15  
changed lines
  Added in v.1.16


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>