1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-26 10:35:59 +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);
let userpass = getUserPass();
if(userpass)
serverConnect();
else {
document.getElementById("user").classList.add('invisible'); document.getElementById("user").classList.add('invisible');
document.getElementById("login-container").classList.remove('invisible'); document.getElementById("login-container").classList.remove('invisible');
}
} }
start(); start();