Created
June 2, 2012 04:30
-
-
Save romabysen/2856598 to your computer and use it in GitHub Desktop.
Shinken: Don't print passwords
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- cfg_password_ui_.py.orig 2012-06-02 11:56:47.931756001 +0800 | |
+++ cfg_password_ui_.py 2012-06-02 11:58:20.859756001 +0800 | |
@@ -71,6 +71,5 @@ | |
if not c: | |
return False | |
- print "User %s (%s) try to init with %s" % (user, c.password, password) | |
p = c.password | |
return p == password and p != 'NOPASSWORDSET' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment