Add support for SASL EXTERNAL
Can be useful when the server is using e.g. a cookie for authentication purposes.
This commit is contained in:
parent
a890665775
commit
21a4a71542
4 changed files with 22 additions and 7 deletions
|
@ -124,6 +124,7 @@ export default class App extends Component {
|
|||
realname: null,
|
||||
nick: null,
|
||||
saslPlain: null,
|
||||
saslExternal: false,
|
||||
autoconnect: false,
|
||||
autojoin: [],
|
||||
},
|
||||
|
@ -207,6 +208,9 @@ export default class App extends Component {
|
|||
if (typeof config.server.autoconnect === "boolean") {
|
||||
connectParams.autoconnect = config.server.autoconnect;
|
||||
}
|
||||
if (config.server.auth === "external") {
|
||||
connectParams.saslExternal = true;
|
||||
}
|
||||
}
|
||||
|
||||
let autoconnect = store.autoconnect.load();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue