This commit is contained in:
speyrefitte
2014-07-30 18:04:42 +02:00
parent 7cbf825946
commit a8b97b9bc6
3 changed files with 8 additions and 10 deletions

View File

@@ -481,7 +481,7 @@ class CredentialProvider(object):
@return: True if credential match admin credential
"""
account = self.getAccount(domain, username)
return account.has_key("admin") and account["admin"] and account.has_key("password") and str(account["password"]) == password
return account.has_key("admin") and account["admin"] and account.has_key("password")# and str(account["password"]) == password
def help():
"""