fix(core): update

This commit is contained in:
Philipp Kunz 2018-11-11 01:56:17 +01:00
parent cf6eecc06f
commit b78b60fc23

View File

@ -32,7 +32,7 @@ export class SmartlogReceiver {
const logPackage = authenticatedLogPackageArg.logPackage; const logPackage = authenticatedLogPackageArg.logPackage;
if(authString === plugins.smarthash.sha256FromStringSync(this.passphrase)) { if(authString === plugins.smarthash.sha256FromStringSync(this.passphrase)) {
this.smartlogInstance.log('ok', 'Message accepted'); // this.smartlogInstance.log('ok', 'Message accepted');
this.smartlogInstance.handleLogPackage(logPackage); this.smartlogInstance.handleLogPackage(logPackage);
} else { } else {
this.smartlogInstance.log('error', 'Message rejected because of bad passphrase'); this.smartlogInstance.log('error', 'Message rejected because of bad passphrase');