From b1423cb0c5e9089933780a02dec769196090c16c Mon Sep 17 00:00:00 2001 From: Arthur DANJOU Date: Fri, 2 Jul 2021 17:35:20 +0200 Subject: [PATCH] Working Signed-off-by: Arthur DANJOU --- config/hash.ts | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/config/hash.ts b/config/hash.ts index cd731e6..4129dbd 100755 --- a/config/hash.ts +++ b/config/hash.ts @@ -6,7 +6,7 @@ */ import Env from '@ioc:Adonis/Core/Env' -import { HashConfig } from '@ioc:Adonis/Core/Hash' +import {HashConfig} from '@ioc:Adonis/Core/Hash' /* |-------------------------------------------------------------------------- @@ -50,25 +50,7 @@ const hashConfig: HashConfig = { memory: 4096, parallelism: 1, saltSize: 16, - }, - - /* - |-------------------------------------------------------------------------- - | Bcrypt - |-------------------------------------------------------------------------- - | - | Bcrypt mapping uses the `bcrypt` driver to hash values. - | - | Make sure you install the underlying dependency for this driver to work. - | https://www.npmjs.com/package/phc-bcrypt. - | - | npm install phc-bcrypt - | - */ - bcrypt: { - driver: 'bcrypt', - rounds: 10, - }, + } }, }