Setting the password policy
Starting in FortiOS 7.6.5, the password policy is enabled by default and enforced for administrators, and your password must meet the policy requirements. See Password policy for information. You can edit the password policy and also enable a policy for IPsec pre-shared keys.