Mercurial > hg > soundsoftware-site
changeset 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 |
files | extra/soundsoftware/SoundSoftware.pm |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/extra/soundsoftware/SoundSoftware.pm Fri Nov 04 14:41:21 2011 +0000 +++ b/extra/soundsoftware/SoundSoftware.pm Fri Nov 04 14:51:08 2011 +0000 @@ -456,6 +456,7 @@ } $sthldap->finish(); undef $sthldap; + last if ($ret); } } else { print STDERR "SoundSoftware.pm:$$: User $redmine_user lacks required role for this project\n";