Fixed issue with password not being set correctly

This commit is contained in:
Kasper Rynning-Tønnesen
2017-05-05 15:53:13 +02:00
parent 9d06c2bda7
commit 7714729093
4 changed files with 5 additions and 3 deletions

View File

@@ -715,6 +715,7 @@ io.on('connection', function(socket){
var skipping = params.skipping;
var shuffling = params.shuffling;
var userpass = params.userpass;
if((!params.userpass_changed && frontpage) || (!params.userpass_changed && userpass == "")) {
userpass = "";
} else if(params.userpass_changed && userpass != "") {