mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Fixed error where password isn't valid on change
This commit is contained in:
@@ -75,9 +75,6 @@ db.on('error',function(err) {
|
||||
});
|
||||
|
||||
io.on('connection', function(socket){
|
||||
|
||||
console.log("connections");
|
||||
|
||||
socket.emit("get_list");
|
||||
|
||||
var guid = hash_pass(socket.handshake.headers["user-agent"] + socket.handshake.address + socket.handshake.headers["accept-language"]);
|
||||
|
||||
4
static/dist/main.min.js
vendored
4
static/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -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"];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user