.upper() SASL mechanism name
This commit is contained in:
parent
9e43ea1599
commit
4ba99e57b7
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ USERPASS_MECHANISMS = [
|
|||
class SaslSetting(utils.Setting):
|
||||
def parse(self, value: str) -> typing.Any:
|
||||
mechanism, _, arguments = value.partition(" ")
|
||||
return {"mechanism": mechanism, "args": arguments}
|
||||
return {"mechanism": mechanism.upper(), "args": arguments}
|
||||
|
||||
@utils.export("serverset", SaslSetting("sasl",
|
||||
"Set the sasl username/password for this server",
|
||||
|
|
Loading…
Reference in a new issue