Module: check_mk
Branch: master
Commit: d739a16627c5f0e6a47433713b2da76a67d505f8
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=d739a16627c5f0…
Author: Sebastian Herbord <sh(a)mathias-kettner.de>
Date: Wed Jul 13 13:27:20 2016 +0200
bugfix to last commit
---
web/plugins/userdb/hook_auth.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/passwordstore.py b/lib/passwordstore.py
old mode 100755
new mode 100644
diff --git a/web/plugins/userdb/hook_auth.py b/web/plugins/userdb/hook_auth.py
index 8974f1b..0f779f5 100644
--- a/web/plugins/userdb/hook_auth.py
+++ b/web/plugins/userdb/hook_auth.py
@@ -291,7 +291,7 @@ def save_passwords(users):
keys_now = set([pw['key'] for pw in user.get('passwords',
[])])
for deleted_pw in keys_before - keys_now:
- tore.remove(deleted_pw, owner)
+ store.remove(deleted_pw, owner)
for pw in user.get('passwords', []):
if not pw['secret']: