mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-10-26 08:00:12 +00:00
* fix: correct 1pctl password complexity validation
`isValidPassword("newPassword")` passed a literal string and the condition was inverted, so the complexity check never ran. Extract the validation into a testable helper and cover both the enabled and disabled paths.
Refs #12640
* Delete core/cmd/server/cmd/update_test.go
---------
Co-authored-by: ssongliu <sloooop1x@gmail.com>