diff --git a/client/modules/operation/index.js b/client/modules/operation/index.js index 4ca7da29..51813abe 100644 --- a/client/modules/operation/index.js +++ b/client/modules/operation/index.js @@ -61,7 +61,7 @@ function OperationProto(operation, data) { function authCheck(spawn, ok) { if (!config('auth')) return ok(); - + spawn.on('accept', ok); spawn.on('reject', () => { Dialog.alert(TITLE, 'Wrong credentials!');