mirror of
https://github.com/foxcpp/maddy.git
synced 2026-02-04 14:54:05 +02:00
Fix issue with maddyctl hash
--argon2-time set the memory instead of time due to a typo
This commit is contained in:
@@ -65,7 +65,7 @@ func hashCommand(ctx *cli.Context) error {
|
||||
opts.Argon2Memory = uint32(ctx.Int("argon2-memory"))
|
||||
}
|
||||
if ctx.IsSet("argon2-time") {
|
||||
opts.Argon2Memory = uint32(ctx.Int("argon2-time"))
|
||||
opts.Argon2Time = uint32(ctx.Int("argon2-time"))
|
||||
}
|
||||
if ctx.IsSet("argon2-threads") {
|
||||
opts.Argon2Threads = uint8(ctx.Int("argon2-threads"))
|
||||
|
||||
Reference in New Issue
Block a user