Try to fix Salt secret
continuous-integration/drone/push Build is passing Details

pull/4/head
Lucas EVARD 1 year ago
parent 24df52209e
commit 6035d6efa9

@ -9,6 +9,7 @@ class CryptManager {
return BCrypt.hashpw(password,salt) return BCrypt.hashpw(password,salt)
} }
fun passwordCrypt(user: User){ fun passwordCrypt(user: User){
println(salt)
user.password=BCrypt.hashpw(user.password,salt) user.password=BCrypt.hashpw(user.password,salt)
} }
fun passwordDecrypt(password: String, passwordClear: String): Boolean{ fun passwordDecrypt(password: String, passwordClear: String): Boolean{

Loading…
Cancel
Save