Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • deep C 20 posts 210 karma points
    Aug 22, 2024 @ 21:26
    deep C
    0

    Username format too strict in Umbraco 10

    I am converting a website from Umbraco 8 to Umbraco 10, and I have usernames with space, comma, parenthesis, square bracket, forward slash. Umbraco 10 does not allow these characters.

    Is there any way to configure Umbraco 10 usernames to be more forgiving?

    Thanks

  • Huw Reddick 1929 posts 6697 karma points MVP 2x c-trib
    Aug 23, 2024 @ 09:30
    Huw Reddick
    100

    You can override the "AllowedUserNameCharacters" in appsettings

    "Umbraco": {
      "CMS": {
        "Security": {
            "AllowedUserNameCharacters" : "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-._@+/ ",
          "UserPassword": {
            "RequiredLength": 10,
            "RequireNonLetterOrDigit": false,
            "RequireDigit": false,
            "RequireLowercase": false,
            "RequireUppercase": false,
            "HashAlgorithmType": "PBKDF2.ASPNETCORE.V3",
            "MaxFailedAccessAttemptsBeforeLockout": 5
          }, ....
    
  • deep C 20 posts 210 karma points
    Aug 23, 2024 @ 17:45
    deep C
    0

    You are awesome! Thanks so much.

Please Sign in or register to post replies

Write your reply to:

Draft