Skip to content
Snippets Groups Projects
Commit 509d5749 authored by rswindell's avatar rswindell
Browse files

Eliminate redundant md5_calc() call and unused variable (pass).

parent 47e94c6a
No related branches found
No related tags found
No related merge requests found
/* $Id$ */
load("event-timer.js");
load("json-sock.js");
load("json-db.js");
......@@ -404,8 +406,6 @@ admin = new (function() {
return false;
}
var usr = new User(usernum);
var pass = md5_calc(usr.security.password,true);
if(md5_calc(usr.security.password,true) != pw) {
error(client,errors.INVALID_PASSWORD);
return false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment