reenable password authentication again

This commit is contained in:
Michel Oosterhof 2014-12-13 06:45:19 +00:00
parent 8e8882c5c1
commit 7124e30a46
1 changed files with 2 additions and 4 deletions

View File

@ -123,12 +123,10 @@ class HoneypotPublicKeyChecker:
@implementer(ICredentialsChecker) @implementer(ICredentialsChecker)
class HoneypotPasswordChecker: class HoneypotPasswordChecker:
""" """
Checker that accepts keyboard-interactive Checker that accepts "keyboard-interactive" and "password"
""" """
# credentialInterfaces = (IUsernamePassword, IPluggableAuthenticationModules) credentialInterfaces = (IUsernamePassword, IPluggableAuthenticationModules)
credentialInterfaces = (IPluggableAuthenticationModules,)
def requestAvatarId(self, credentials): def requestAvatarId(self, credentials):
if hasattr(credentials, 'password'): if hasattr(credentials, 'password'):