Diff for /loncom/auth/lonacc.pm between versions 1.159 and 1.159.2.2

version 1.159, 2014/10/18 21:40:06 version 1.159.2.2, 2016/08/05 20:27:18
Line 109  sub cleanup { Line 109  sub cleanup {
     my ($r)=@_;      my ($r)=@_;
     if (! $r->is_initial_req()) { return DECLINED; }      if (! $r->is_initial_req()) { return DECLINED; }
     &Apache::lonnet::save_cache();      &Apache::lonnet::save_cache();
     &Apache::lontexconvert::jsMath_reset();  
     return OK;      return OK;
 }  }
   
Line 290  sub sso_login { Line 289  sub sso_login {
  return undef;   return undef;
     }      }
   
     my ($user) = ($r->user =~ m/([a-zA-Z0-9_\-@.]*)/);      my ($user) = ($r->user =~ m/^($match_username)$/);
       if ($user eq '') {
           return undef;
       }
   
     my $query = $r->args;      my $query = $r->args;
     my %form;      my %form;

Removed from v.1.159  
changed lines
  Added in v.1.159.2.2


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