fix(crypto): allow parsing of cost int from env string (#7061)

fic(crypto): allow parsing of cost int from env string
This commit is contained in:
Tim Möhlmann
2023-12-15 13:16:05 +02:00
committed by GitHub
parent dae1911d43
commit 1adfca9d28
2 changed files with 12 additions and 4 deletions

View File

@@ -397,7 +397,11 @@ func TestHasherConfig_decodeParams(t *testing.T) {
"a": 1,
"b": "2",
},
wantErr: true,
want: dst{
A: 1,
B: 2,
},
wantErr: false, // https://github.com/zitadel/zitadel/issues/6913
},
{
name: "ok",