mirror of
https://git.sr.ht/~emersion/gamja
synced 2024-11-14 19:25:26 -05:00
lib/client: encode empty SASL response as "+"
This commit is contained in:
parent
2c3fbdd605
commit
fd63c169ed
1 changed files with 1 additions and 1 deletions
|
@ -470,7 +470,7 @@ export default class Client extends EventTarget {
|
|||
initialResp = { command: "AUTHENTICATE", params: [respStr] };
|
||||
break;
|
||||
case "EXTERNAL":
|
||||
initialResp = { command: "AUTHENTICATE", params: [base64.encode("")] };
|
||||
initialResp = { command: "AUTHENTICATE", params: ["+"] };
|
||||
break;
|
||||
case "OAUTHBEARER":
|
||||
let raw = "n,,\x01auth=Bearer " + params.token + "\x01\x01";
|
||||
|
|
Loading…
Reference in a new issue