comparison extra/soundsoftware/SoundSoftware.pm @ 735:8653bddf26a6 feature_318

Drop out of loop as soon as the first LDAP auth succeeds for a suitable role (fixing #316)
author Chris Cannam
date Fri, 04 Nov 2011 14:51:08 +0000
parents 1d1b8170c2f7
children 51c97efbe241
comparison
equal deleted inserted replaced
734:1d1b8170c2f7 735:8653bddf26a6
454 $ret = 1; 454 $ret = 1;
455 } 455 }
456 } 456 }
457 $sthldap->finish(); 457 $sthldap->finish();
458 undef $sthldap; 458 undef $sthldap;
459 last if ($ret);
459 } 460 }
460 } else { 461 } else {
461 print STDERR "SoundSoftware.pm:$$: User $redmine_user lacks required role for this project\n"; 462 print STDERR "SoundSoftware.pm:$$: User $redmine_user lacks required role for this project\n";
462 } 463 }
463 } 464 }