diff --git a/www/assets/js/acp.js b/www/assets/js/acp.js index b89d3b58..8d70fe0b 100644 --- a/www/assets/js/acp.js +++ b/www/assets/js/acp.js @@ -74,19 +74,15 @@ if(window.location.search) { if(uname != null && pw != null && pw != "false") { socket.emit("login", { name: uname, - sha256: pw + pw: pw }); } function loginClick() { uname = $("#username").val(); - if($("#password").val() == "") - pw = ""; - else - pw = SHA256($("#password").val()); socket.emit("login", { name: uname, - sha256: pw + pw: $("#password").val(); }); };