mirror of
https://github.com/caprover/caprover
synced 2026-09-26 00:25:38 +00:00
Improved hashing for selfhosted registry password
This commit is contained in:
@@ -122,7 +122,7 @@ class SelfHostedDockerRegistry {
|
||||
const authContent =
|
||||
CaptainConstants.captainRegistryUsername +
|
||||
':' +
|
||||
bcrypt.hashSync(password, bcrypt.genSaltSync(5))
|
||||
bcrypt.hashSync(password, bcrypt.genSaltSync(10))
|
||||
|
||||
return fs.outputFile(
|
||||
CaptainConstants.registryAuthPathOnHost,
|
||||
|
||||
Reference in New Issue
Block a user