GitLab CE: Block new users after manual registration
<p>I am locking for the right GitLab CE server configuration to block new users, which signed up manually via the sign-up page (username / name / password). This users should be blocked until manually confirmed by an admin.</p>

<p>I found options to block new (auto-created) users for <code>LDAP</code> and <code>OmniAuth</code> in <a href="https://gitlab.com/gitlab-org/gitlab-ce/blob/master/config/gitlab.yml.example" rel="nofollow noreferrer"><code>gitlab.yml</code></a> but not for plain user accounts, who just registered on the sign-up page:</p>

<pre><code>## LDAP settings
  ldap:
    servers:
      main:
        block_auto_created_users: true

## OmniAuth settings
omniauth:
  block_auto_created_users: true
</code></pre>

<p>I want to let the users register themselves, so completely disabling this the admin area is not wanted:</p>

<hr>

<p><a href="https://i.stack.imgur.com/sRtUQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sRtUQ.png" alt="admin area sign-in restrictions"></a></p>

<hr>

<p>How can I configure GitLab CE to block new users who just signed-up so that I have an admin confirmation for new users (not using <code>LDAP</code> or <code>OmniAuth</code>)?</p>

<p>GitLab version is <code>8.5.7 CE</code>.</p>