From 920a2af71ebc064d5c0ae8b1700814a63ab4f6c1 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Wed, 26 May 2021 18:52:26 +0200 Subject: [PATCH] Fix variable name. --- plomlombot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plomlombot.py b/plomlombot.py index 1128eff..0e02f1c 100755 --- a/plomlombot.py +++ b/plomlombot.py @@ -490,7 +490,7 @@ class Session: self.io.send_line("USER " + username + " 0 * : ") if sasl: self.io.send_line("AUTHENTICATE PLAIN") - auth = username + '\0' + username + '\0' + password + auth = username + '\0' + username + '\0' + sasl auth_encoded = base64.b64encode(auth.encode()).decode().rstrip() self.io.send_line("AUTHENTICATE " + auth_encoded) self.io.send_line("CAP END") -- 2.30.2