# Can't sign up with email domain that is automatically matched to group

**URL:** <https://meta.discourse.org/t/cant-sign-up-with-email-domain-that-is-automatically-matched-to-group/54554>\
**Category:** Bug\
**Created:** [12월 20, 2016, 1:46오후 UTC](https://meta.discourse.org/t/cant-sign-up-with-email-domain-that-is-automatically-matched-to-group/54554 "2016-12-20T13:46:30Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![imrehg](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/imrehg/32/119891_2.png) [@imrehg](https://meta.discourse.org/u/imrehg)\
**Post date:** [12월 20, 2016, 1:46오후 UTC](https://meta.discourse.org/t/cant-sign-up-with-email-domain-that-is-automatically-matched-to-group/54554/1 "2016-12-20T13:46:30Z")

</div>

Hi, I’m administering a Discourse install hosted by Discourse. Just migrated here from another hosting.

I have a group, which also has the automatic email domain matching (`Users who register with an email domain that exactly matches one in this list will be automatically added to this group`). The problem I face is that now if people are signing up from the domain I set there, they receive a `Password is the same as your current password.` error and the system won’t let them sign up. Other domains are fine, and if I take out the domain from the group settings, the same email address can sign up perfectly fine.

Here’s what I see when trying to sign up: showing that there’s no such email nor username in use, but still get a password error. The password was a random string.

 ![](https://global.discourse-cdn.com/meta/original/3X/1/5/15f48fe4a44ccbfdc180a54b886cb2f67346e9e6.png)

So the steps:

- Create group
- For that group set `Users who register with an email domain that exactly matches one in this list will be automatically added to this group:` to a specific domain
- Try to sign up with an email address using that domain

What should happen:

- Sign up fine

What happens:

- `Password is the same as your current password.` error and back to create new account screen

Any idea what might be going wrong here?

---

_[View the full topic](https://meta.discourse.org/t/cant-sign-up-with-email-domain-that-is-automatically-matched-to-group/54554)._
