Commit 9dd6abae authored by Alain Takoudjou's avatar Alain Takoudjou

Auto connect user from hash

parent a3add012
......@@ -4031,6 +4031,11 @@ async function start() {
await serverConnect();
} else if(groupStatus.authPortal) {
window.location.href = groupStatus.authPortal;
} else if(window.location.hash) {
let connect = document.getElementById('connectbutton');
getInputElement('username').value = window.location.hash.slice(1);
getInputElement('password').value = "";
connect.click();
} else {
let container = document.getElementById("login-container");
container.classList.remove('invisible');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment