LSP: bugfix for md5ing when creating new acc
This commit is contained in:
parent
339dd37835
commit
30811b57cf
2 changed files with 157 additions and 149 deletions
|
@ -1909,7 +1909,7 @@ var UI = {
|
|||
help: 'Enter your desired password. In the future, you will need this to access the Management Interface.',
|
||||
pointer: {
|
||||
main: mist.user,
|
||||
index: 'password'
|
||||
index: 'rawpassword'
|
||||
},
|
||||
classes: ['match_password']
|
||||
},{
|
||||
|
@ -1937,9 +1937,11 @@ var UI = {
|
|||
},{
|
||||
authorize: {
|
||||
new_username: mist.user.name,
|
||||
new_password: mist.user.password
|
||||
new_password: mist.user.rawpassword
|
||||
}
|
||||
});
|
||||
mist.user.password = MD5(mist.user.rawpassword);
|
||||
delete mist.user.rawpassword;
|
||||
}
|
||||
}]
|
||||
}]));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue