You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by Sebastian Bazley <se...@apache.org> on 2016/01/21 23:24:25 UTC
[whimsy.git] [1/1] Commit adb09d7: There are other ways of stopping a login
Commit adb09d76a925c5fc7d9b929399837846566194e8:
There are other ways of stopping a login
Branch: refs/heads/master
Author: Sebb <se...@apache.org>
Committer: Sebb <se...@apache.org>
Pusher: sebb <se...@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