Commit adb09d76a925c5fc7d9b929399837846566194e8:
    There are other ways of stopping a login


Branch: refs/heads/master
Author: Sebb <[email protected]>
Committer: Sebb <[email protected]>
Pusher: sebb <[email protected]>

------------------------------------------------------------
lib/whimsy/asf/ldap.rb                                       | + -
------------------------------------------------------------
2 changes: 1 additions, 1 deletions.
------------------------------------------------------------


diff --git a/lib/whimsy/asf/ldap.rb b/lib/whimsy/asf/ldap.rb
index 7a270dc..475a109 100644
--- a/lib/whimsy/asf/ldap.rb
+++ b/lib/whimsy/asf/ldap.rb
@@ -265,7 +265,7 @@ def asf_committer?
     end
 
     def banned?
-      not attrs['loginShell'] or attrs['loginShell'].include? "/usr/bin/false"
+      not attrs['loginShell'] or attrs['loginShell'].include? "/usr/bin/false" 
or attrs['loginShell'].include? "bin/nologin" or attrs['loginShell'].include? 
"bin/no-cla"
     end
 
     def mail

Reply via email to