From d10156e2c120ed392a690ed13a2e4511f01e3d77 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Sun, 17 Nov 2019 00:24:14 -0500 Subject: [PATCH] remove debugs --- src/api/Security.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/api/Security.ts b/src/api/Security.ts index 28e7339..e5ec505 100644 --- a/src/api/Security.ts +++ b/src/api/Security.ts @@ -45,13 +45,10 @@ export default class Security { const saltCheck = await this.client.db.Account.findOne({ salt }); const encrypted = bearer.split(':')[1]; let decrypted = decipher.update(encrypted, 'base64', 'utf8'); - this.client.signale.debug(decrypted); decipher.setAuthTag(saltCheck.authTag); decrypted += decipher.final('utf8'); const json = JSON.parse(decrypted); const account = await this.client.db.Account.findOne({ username: json.username }); - this.client.signale.debug(account); - this.client.signale.debug(saltCheck); if (saltCheck.salt !== account.salt) return null; return account; } catch (error) {