From 30cab284b0d852c00974a5ef9e5ad46c4d03e31d Mon Sep 17 00:00:00 2001 From: calzoneman Date: Wed, 27 Mar 2013 15:13:41 -0500 Subject: [PATCH] Fix acp for bcrypt update --- www/assets/js/acp.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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(); }); };