diff --git a/modules/sasl/scram.py b/modules/sasl/scram.py index 719337a6..19ec4e8c 100644 --- a/modules/sasl/scram.py +++ b/modules/sasl/scram.py @@ -84,7 +84,7 @@ class SCRAM(object): client_proof = base64.b64encode(client_proof_xor) # c=,r=,p= - return auth_noproof + (b",p=%s" % client_proof) + return b"%s,p=%s" % (auth_noproof, client_proof) def server_final(self, data: bytes) -> bool: pieces = self._get_pieces(data)