diff --git a/client/pages/connectpage/form.js b/client/pages/connectpage/form.js index 035d4da0..8c53ee3c 100644 --- a/client/pages/connectpage/form.js +++ b/client/pages/connectpage/form.js @@ -130,7 +130,7 @@ export function Form({ const key = Object.keys(form)[0]; if (selectedTab !== i) return null; - const auth = window.CONFIG["auth"].split(/\s*,\s*/); + const auth = window.CONFIG["auth"]; if (auth.indexOf(key) !== -1 || auth.indexOf(form[key].label.value) !== -1) { return hasUserInteracted === false && enabledBackends.length > 1 ? (