From 6035d6efa93515717b3b8137ea016bdd54f04056 Mon Sep 17 00:00:00 2001 From: Lucas EVARD Date: Wed, 17 Jan 2024 16:54:16 +0100 Subject: [PATCH] :sparkles: Try to fix Salt secret --- Sources/src/main/kotlin/allin/utils/CryptManager.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/src/main/kotlin/allin/utils/CryptManager.kt b/Sources/src/main/kotlin/allin/utils/CryptManager.kt index 89e803c..17f71d0 100644 --- a/Sources/src/main/kotlin/allin/utils/CryptManager.kt +++ b/Sources/src/main/kotlin/allin/utils/CryptManager.kt @@ -9,6 +9,7 @@ class CryptManager { return BCrypt.hashpw(password,salt) } fun passwordCrypt(user: User){ + println(salt) user.password=BCrypt.hashpw(user.password,salt) } fun passwordDecrypt(password: String, passwordClear: String): Boolean{