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
|
from . import scram
|
||||||
|
|
||||||
def _validate(self, s):
|
def _validate(self, s):
|
||||||
mechanism = s
|
mechanism, _, arguments = s.partition(" ")
|
||||||
if " " in s:
|
|
||||||
mechanism, arguments = s.split(" ", 1)
|
|
||||||
return {"mechanism": mechanism, "args": arguments}
|
return {"mechanism": mechanism, "args": arguments}
|
||||||
|
|
||||||
def _scram_nonce():
|
def _scram_nonce():
|
||||||
|
|
Loading…
Reference in a new issue