Diff for /loncom/auth/switchserver.pm between versions 1.28.2.3 and 1.28.2.4

version 1.28.2.3, 2010/09/06 15:45:08 version 1.28.2.4, 2011/08/02 14:20:42
Line 117  sub handler { Line 117  sub handler {
                 if (&Apache::lonnet::homeserver($env{'user.name'},$env{'user.domain'}) eq $env{'form.otherserver'}) {                  if (&Apache::lonnet::homeserver($env{'user.name'},$env{'user.domain'}) eq $env{'form.otherserver'}) {
                     $skip_canhost_check = 1;                      $skip_canhost_check = 1;
                 }                  }
             } elsif ($env{'form.role'} =~ m{^[ac]a\./($match_domain)/($match_username)/$}) {              } elsif ($env{'form.role'} =~ m{^[ac]a\./($match_domain)/($match_username)$}) {
                 if (&Apache::lonnet::homeserver($2,$1) eq $env{'form.otherserver'}) {                  if (&Apache::lonnet::homeserver($2,$1) eq $env{'form.otherserver'}) {
                     $skip_canhost_check = 1;                       $skip_canhost_check = 1; 
                 }                  }

Removed from v.1.28.2.3  
changed lines
  Added in v.1.28.2.4


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