chore: package.json cleanups

This commit is contained in:
simon
2020-03-02 10:26:33 +01:00
parent 4cfd796f91
commit f30932002c
3 changed files with 45 additions and 104 deletions

View File

@@ -14,6 +14,7 @@ export class Authentication implements IAuthentication {
const cacheKey = `usr:${username}|pwd:${password}`;
const fromCache = this.cache.get(cacheKey) as undefined | boolean;
if (fromCache !== undefined) {
console.log(`Cached Auth Result for user ${username}`, fromCache ? 'SUCCESS' : 'Failure');
return fromCache;
}