updated linux mm, check loading login fix

new mm api doesn't respond userpass on first command execution. the new js code update just uses the passphrase API to check if the login is default passphrase login or else, and behaves accordingly.
This commit is contained in:
Satinder Grewal 2018-02-19 23:03:09 +11:00
parent 6bc141d3b4
commit 94523cc5fc
2 changed files with 2 additions and 1 deletions

Binary file not shown.

View File

@ -577,7 +577,8 @@ CheckDefaultLogin = function(sig) {
}
var userpass = '1d8b27b21efabcd96571cd56f91a40fb9aa4cc623d273c63bf9223dc6f8cd81f';
var ajax_data = {"userpass":userpass,"method":"enable","coin":""};
//var ajax_data = {"userpass":userpass,"method":"enable","coin":""};
var ajax_data = {"userpass":userpass,"method":"passphrase","passphrase":"default","gui":"simplegui"};
//console.log(ajax_data)
var url = "http://127.0.0.1:7783";