From d030182c0a571d1cbcce166b264c9fa8433b81e1 Mon Sep 17 00:00:00 2001 From: Jamie Curnow Date: Tue, 31 Jul 2018 11:20:03 +1000 Subject: [PATCH] Replaced bcrypt-then with updated bcrypt --- package.json | 2 +- src/backend/models/auth.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 3dfb6984..c361cbfc 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "dependencies": { "ajv": "^6.5.1", "batchflow": "^0.4.0", - "bcrypt-then": "^1.1.0", + "bcrypt": "^3.0.0", "body-parser": "^1.18.3", "compression": "^1.7.2", "config": "^1.30.0", diff --git a/src/backend/models/auth.js b/src/backend/models/auth.js index b4e7e25f..5024a0d8 100644 --- a/src/backend/models/auth.js +++ b/src/backend/models/auth.js @@ -3,7 +3,7 @@ 'use strict'; -const bcrypt = require('bcrypt-then'); +const bcrypt = require('bcrypt'); const db = require('../db'); const Model = require('objection').Model; const User = require('./user');