handle both tokens and token in query

This commit is contained in:
encrypt 2020-03-26 18:01:08 +01:00
parent a3312ec8ff
commit c54cf56a7b

View file

@ -923,6 +923,9 @@ window.onload = function () {
if (queryParams.tokens) { if (queryParams.tokens) {
ui.connectDialog.tokens(queryParams.tokens.split(",")) ui.connectDialog.tokens(queryParams.tokens.split(","))
} }
if (queryParams.token) {
ui.connectDialog.token(queryParams.token.split(","))
}
if (queryParams.username) { if (queryParams.username) {
ui.connectDialog.username(queryParams.username) ui.connectDialog.username(queryParams.username)
} else { } else {