Fix acp for bcrypt update

This commit is contained in:
calzoneman 2013-03-27 15:13:41 -05:00
parent 448d774b0d
commit 30cab284b0

View file

@ -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();
});
};