arguments
was not defined if they weren't provided (sasl)
This commit is contained in:
parent
0004a8a59c
commit
3e54542b6a
1 changed files with 1 additions and 3 deletions
|
@ -3,9 +3,7 @@ from src import ModuleManager, utils
|
|||
from . import scram
|
||||
|
||||
def _validate(self, s):
|
||||
mechanism = s
|
||||
if " " in s:
|
||||
mechanism, arguments = s.split(" ", 1)
|
||||
mechanism, _, arguments = s.partition(" ")
|
||||
return {"mechanism": mechanism, "args": arguments}
|
||||
|
||||
def _scram_nonce():
|
||||
|
|
Loading…
Reference in a new issue