oylbin
oylbin

Reputation: 148

how to allow user sign up in gitlab but restrict their email to specific domain?

I can enable user sign up by edit config/gitlab.yaml

## Users management
signup_enabled: true          # default: false

I want to restrict user email to domain mycompany.com when signuped so that only people in my company can create a gitlab account. such as:

[email protected]   # ok to sign up
[email protected] # ok to sign up

[email protected] # disallow to sign up

how to configure it in gitlab?

Upvotes: 6

Views: 13230

Answers (2)

VonC
VonC

Reputation: 1324347

2013: That was recently requested (issue 4413), but not yet implemented.

Implemented in 2016 (Merge Request 598, GitLab 7.11, May 2015) in the Admin Area:

https://gitlab.com/gitlab-org/gitlab-ce/uploads/b312046aae03971f37f4247382971fc6/image.png


Original answer (2013):

That would be similar to the Atlassian Confluence setting:

Confluance setting

So pull requests are welcome.

[edit]
Feature request was moved here.

Upvotes: 7

MarZab
MarZab

Reputation: 2623

This was implemented, you can find the white/black list in the admin under Settings.

Upvotes: 0

Related Questions