diff options
| author | James Elliott <james-d-elliott@users.noreply.github.com> | 2022-04-09 09:21:49 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-09 09:21:49 +1000 |
| commit | 9d5ac4526e69f2d0fc5c027a8b53a534f44f86f2 (patch) | |
| tree | 3a5e4d9abb5eda6c9526da5970a6826708832c19 /internal/handlers/types.go | |
| parent | f9da940bfc1d07f25d879c495797bb02edd5785e (diff) | |
fix(configuration): remove unused password policy option (#3149)
Removes the min score option from the ZXCVBN policy and adds tests.
Diffstat (limited to 'internal/handlers/types.go')
| -rw-r--r-- | internal/handlers/types.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/internal/handlers/types.go b/internal/handlers/types.go index 33e096c25..6b7a4d8da 100644 --- a/internal/handlers/types.go +++ b/internal/handlers/types.go @@ -120,7 +120,6 @@ type PassworPolicyBody struct { Mode string `json:"mode"` MinLength int `json:"min_length"` MaxLength int `json:"max_length"` - MinScore int `json:"min_score"` RequireUppercase bool `json:"require_uppercase"` RequireLowercase bool `json:"require_lowercase"` RequireNumber bool `json:"require_number"` |
