mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Major update on cryptosystem, all passwords now obsolete..
This commit is contained in:
@@ -98,11 +98,11 @@ var Admin = {
|
||||
pw: function(msg)
|
||||
{
|
||||
w_p = false;
|
||||
adminpass = msg;
|
||||
adminpass = Crypt.tmp_pass;
|
||||
names = ["vote","addsongs","longsongs","frontpage", "allvideos",
|
||||
"removeplay", "skip", "shuffle", "userpass"];
|
||||
|
||||
Crypt.set_pass(chan.toLowerCase(), Crypt.decrypt_pass(msg));
|
||||
Crypt.set_pass(chan.toLowerCase(), Crypt.tmp_pass);
|
||||
|
||||
for (var i = 0; i < names.length; i++) {
|
||||
$("input[name="+names[i]+"]").attr("disabled", false);
|
||||
|
||||
Reference in New Issue
Block a user