# 500 Error At sign up

**URL:** <https://meta.discourse.org/t/500-error-at-sign-up/36034>\
**Category:** Bug\
**Created:** [26 Novembre 2015, 3:45am UTC](https://meta.discourse.org/t/500-error-at-sign-up/36034 "2015-11-26T03:45:36Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [26 Novembre 2015, 5:31am UTC](https://meta.discourse.org/t/500-error-at-sign-up/36034/10 "2015-11-26T05:31:15Z")

</div>

```plaintext
domains = group.automatic_membership_email_domains.gsub('.', '\.')
      if self.email =~ Regexp.new("@(#{domains})$", true)

```

you have automatic membership domain of `*@mydomain.com` remove the `*@`

@techAPJ can you add a validator there?

---

_[View the full topic](https://meta.discourse.org/t/500-error-at-sign-up/36034)._
