Change account password (clientside RPC)

This commit is contained in:
yflory
2018-06-14 18:18:53 +02:00
parent b89b033175
commit d37aa0646e
7 changed files with 53 additions and 0 deletions

View File

@@ -276,6 +276,15 @@ define([
});
};
Store.writeLoginBlock = function (clientId, data, cb) {
store.rpc.writeLoginBlock(data, function (e, res) {
cb({
error: e,
data: res
});
});
};
Store.initRpc = function (clientId, data, cb) {
if (store.rpc) { return void cb(account); }
require(['/common/pinpad.js'], function (Pinpad) {