whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastian Bazley <s...@apache.org>
Subject [whimsy.git] [1/1] Commit adb09d7: There are other ways of stopping a login
Date Thu, 21 Jan 2016 22:24:25 GMT
Commit adb09d76a925c5fc7d9b929399837846566194e8:
    There are other ways of stopping a login


Branch: refs/heads/master
Author: Sebb <sebb@apache.org>
Committer: Sebb <sebb@apache.org>
Pusher: sebb <sebb@apache.org>

------------------------------------------------------------
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

Mime
View raw message