bug fix
This commit is contained in:
@@ -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():
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user