Skip to content

User creation through console failed when username regex configured in the userstore #23764

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
DilshaniSH opened this issue Apr 9, 2025 · 0 comments
Labels

Comments

@DilshaniSH
Copy link

Description

When the username_java_script_regex regex configured (as a non email value) in the userstore configurations, email validation during the user creation failed and below error is displayed.

Image

Steps to Reproduce

  1. Add a non email regex for the username_java_script_regex configuration under the userstore section in the deployment.toml and restart the server.
[user_store]
username_java_script_regex = "^[a-z]+$"
  1. Log into the console and try to create a new user in primary userstore with a valid email.

Version

IS 7.1.0

Environment Details (with versions)

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant