Change account password (clientside RPC)
This commit is contained in:
1 parent
b89b033175
commit
d37aa0646e
7 files changed
+53
No files matched your search
@@ -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) {
|
||||
|
||||
@@ -23,6 +23,7 @@ define([
|
||||
UPLOAD_COMPLETE: Store.uploadComplete,
|
||||
UPLOAD_STATUS: Store.uploadStatus,
|
||||
UPLOAD_CANCEL: Store.uploadCancel,
|
||||
WRITE_LOGIN_BLOCK: Store.writeLoginBlock,
|
||||
PIN_PADS: Store.pinPads,
|
||||
UNPIN_PADS: Store.unpinPads,
|
||||
GET_DELETED_PADS: Store.getDeletedPads,
|
||||
|
||||
Reference in new issue
Block a user