1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-22 16:45:58 +01:00

Don't login automatically.

Users find it confusing, especially when the browser disables autoplay.
This commit is contained in:
Juliusz Chroboczek 2020-09-16 01:02:46 +02:00
parent 5ad4df5a45
commit 1672f13230

View file

@ -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();