fix(core): update
This commit is contained in:
parent
cf6eecc06f
commit
b78b60fc23
@ -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');
|
||||||
|
Loading…
Reference in New Issue
Block a user