Restrict account creation to specified email domains won't change

Mattermost verison: 9.11.1

Summary
Restrict account creation to specified email domains won’t change

Steps to reproduce
I installed mattermost on aws. I changed the restrict account creation to domain1.
https://docs.mattermost.com/configure/authentication-configuration-settings.html#restrict-account-creation-to-specified-email-domains
Then I tried to change the restricted account creation to off and then to a different email domain2. Now it it is stuck with the original email domain1 I typed in. When I try to send an invite or send someone an invite link, it says they must use domain1.

Am I’m forgetting something to change? How can I overcome this?

The very first thing I have to suggest is to upgrade to 9.11.6 as it’ll include a few months of bug fixes. I don’t see anything immediately that looks like, “Ah, ha! Here’s the answer!” but it’s highly recommended.

https://docs.mattermost.com/about/mattermost-v9-changelog.html

1 Like

Next - how are you changing the creation domain? In config.json? System Console? Environment variables? What does mattermost.log say? You may need to increase verbosity to DEBUG to get enough output. Mattermost logging - Mattermost documentation

1 Like