mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 23:39:41 +02:00
fix(pwd) EE-3161 ease the minimum password restrictions to 12 characters (#6921)
* fix(pwd): EE-3161 ease the minimum password restrictions to 12 characters
This commit is contained in:
parent
d9d1d6bfaa
commit
16f8b737f1
5 changed files with 7 additions and 65 deletions
|
@ -13,9 +13,9 @@ func TestStrengthCheck(t *testing.T) {
|
|||
}{
|
||||
{"Empty password", args{""}, false},
|
||||
{"Short password", args{"portainer"}, false},
|
||||
{"Short password", args{"portaienr!@#"}, false},
|
||||
{"Short password", args{"portaienr!@#"}, true},
|
||||
{"Week password", args{"12345678!@#"}, false},
|
||||
{"Week password", args{"portaienr123"}, false},
|
||||
{"Week password", args{"portaienr123"}, true},
|
||||
{"Good password", args{"Portainer123"}, true},
|
||||
{"Good password", args{"Portainer___"}, true},
|
||||
{"Good password", args{"^portainer12"}, true},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue