No internet connection
  1. Home
  2. Ideas

Allow email domains be black/whitelisted? Perhaps to a single domain?

By Luke Smith @zenoscave2019-01-20 19:04:47.904Z

Locking down registration to a single domain would be greatly appreciated; that is, denying registration approval if the email is not someone@somewhere.com where the domain somewhere.com is configurable?

  • 5 replies
  1. KajMagnus @KajMagnus2019-01-21 09:04:46.982Z

    Ok, good idea, work in progress. If someone tries to sign up with an email address from a not-allowed domain, then, the simplest thing is to directly reply "Forbidden" and not let the person proceed with creating an account at all. What do you think about that?

    You'll be able to type a list of allowed domains. Also, if in some rare cases, someone needs to join, but s/he has an email address that breaks the someone@some.domain.org pattern — then you can add that exact email address too, to the list of "domains".

    (For others who might wonder what's the use case for this: This is useful for organizations where all members have an email address on a certain domain, like student-name@some.university.org, and the community is for those people only.)

    1. Progress
    2. @KajMagnus marked this topic as Planned 2019-01-21 09:04:49.878Z.
    3. @KajMagnus marked this topic as Started 2019-01-21 09:04:50.757Z.
    4. In reply tozenoscave:
      KajMagnus @KajMagnus2019-02-07 18:32:54.822Z

      Hi @zenoscave I've added settings for white listing and black listing domains. I released a new version a few days ago. If you've installed open-source on your server, it should have auto upgraded by now. The settings are in the Login and Signup tab, in the Settings tab, in the admin area:

      If you try this out, plz let me know how it works :- )

      1. @KajMagnus marked this topic as Done 2019-02-07 18:32:58.318Z.