mirror of https://github.com/cowrie/cowrie.git
reenable password authentication again
This commit is contained in:
parent
8e8882c5c1
commit
7124e30a46
|
@ -123,12 +123,10 @@ class HoneypotPublicKeyChecker:
|
|||
@implementer(ICredentialsChecker)
|
||||
class HoneypotPasswordChecker:
|
||||
"""
|
||||
Checker that accepts keyboard-interactive
|
||||
Checker that accepts "keyboard-interactive" and "password"
|
||||
"""
|
||||
|
||||
# credentialInterfaces = (IUsernamePassword, IPluggableAuthenticationModules)
|
||||
|
||||
credentialInterfaces = (IPluggableAuthenticationModules,)
|
||||
credentialInterfaces = (IUsernamePassword, IPluggableAuthenticationModules)
|
||||
|
||||
def requestAvatarId(self, credentials):
|
||||
if hasattr(credentials, 'password'):
|
||||
|
|
Loading…
Reference in New Issue