Commit 1672f132 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Don't login automatically.

Users find it confusing, especially when the browser disables autoplay.
parent 5ad4df5a
...@@ -1298,14 +1298,8 @@ function start() { ...@@ -1298,14 +1298,8 @@ function start() {
setLocalMute(localMute); setLocalMute(localMute);
document.getElementById("user").classList.add('invisible');
let userpass = getUserPass(); document.getElementById("login-container").classList.remove('invisible');
if(userpass)
serverConnect();
else {
document.getElementById("user").classList.add('invisible');
document.getElementById("login-container").classList.remove('invisible');
}
} }
start(); start();
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