Skip to content

User password input validation doesn't specify all requirements #14263

Open
@Nysosis

Description

@Nysosis

Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)

11.3.1

Bug summary

When creating the first backend user, or updating that backend users password (I have not checked when inviting new users), with the following security settings:

  "Security": {
        "UserPassword": {
          "RequireNonLetterOrDigit": true,
          "RequireDigit": true,
          "RequireLowercase": true,
          "RequireUppercase": true
        }
      }

The digit, lowercase and uppercase do not show as requirements under the input itself:
image

Nor am I blocked from submitting the form with validation errors. However it does fail on the API call and the toast validation does specify the requirements are not met (below is the result of me entering a password of just !!!!!!!!!!):

image

Specifics

No response

Steps to reproduce

  • Create a new empty Umbraco Instance
  • Update the appsettings.json to specify the security settings listed above
  • Run the site for the first time with initial install, and see the criteria do not appear on the first screen
  • Create a valid account, and go to the users area and attempt to change your password
  • See that the criteria do not apply there

Expected result / actual result

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions