Skip to content
Snippets Groups Projects
Commit 66bc49c0 authored by Chris Hallberg's avatar Chris Hallberg
Browse files

Merge branch 'release-2.3'

About to undo this.
parents 076e871f a8e5cf7d
No related merge requests found
/*global btoa, checkSaveStatuses, console, extractSource, hexEncode, Lightbox, path, rc4Encrypt, refreshCommentList, unescape, vufindString */
/*global checkSaveStatuses, console, extractSource, hexEncode, Lightbox, path, rc4Encrypt, refreshCommentList, unescape, vufindString */
/* --- GLOBAL FUNCTIONS --- */
function htmlEncode(value){
......@@ -216,9 +216,8 @@ function ajaxLogin(form) {
// get the user entered password
var password = form.password.value;
// base-64 encode the password (to allow support for Unicode)
// and then encrypt the password with the salt
password = rc4Encrypt(salt, btoa(unescape(encodeURIComponent(password))));
// encrypt the password with the salt
password = rc4Encrypt(salt, password);
// hex encode the encrypted password
password = hexEncode(password);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment