Skip to content

Instantly share code, notes, and snippets.

@romabysen
Created June 2, 2012 04:30
Show Gist options
  • Save romabysen/2856598 to your computer and use it in GitHub Desktop.
Save romabysen/2856598 to your computer and use it in GitHub Desktop.
Shinken: Don't print passwords
--- 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