Fixed error where password isn't valid on change

This commit is contained in:
Kasper Rynning-Tønnesen
2015-11-29 12:05:02 +01:00
parent 7bc4546ca5
commit 97e7dfd7c4
3 changed files with 3 additions and 6 deletions

View File

@@ -61,7 +61,7 @@ var Admin = {
socket.on("pw", function(msg)
{
w_p = false;
adminpass = msg;
adminpass = Crypt.decrypt_pass(msg);
names = ["vote","addsongs","longsongs","frontpage", "allvideos",
"removeplay", "skip", "shuffle"];