Open Closed

Modifying Registration Error #3854

mmorales created

How can I modify the Registration Error view when username is already taken. Also how do I modify the error text for username already taken message.

2 Answer(s)
  • 0
    ismcagdas created
    Support Team

    Hi @mmorales,

    This localization key is defined in AbpZer.xml file, see <a class="postlink" href=""> ... bpZero.xml</a>.

    You can override it's value as explained in this document <a class="postlink" href=""> ... cExtending</a>.

    In AccountController, you can check returned identity result and throw a different error if you like.


  • 0
    alper created
    Support Team


    you can change it in localization file In AbpZero.xml find the row below and modify it.

    <text name="Identity.DuplicateUserName">User name '{0}' is already taken.</text>

    The localization file: <a class="postlink" href=""> ... bpZero.xml</a>