Once you have to Authenticate your user with AD Server then you won’t want to allow the user to register from the git-lab front page. So you need to disable it from Admin Panel. how to disable and signup the registration option in the GitLab server. You can also restrictions on user creation and username sign-up restrictions on the GitLab server.
Once you made these changes then there’s no need to keep login and registration option in the GitLab server because the user is authenticating with the AD server. There won’t be any security risk. you can use the GitLab server with ad user so you don’t need to make the manual effort.
How To Disable Signup Option On Git-lab:
Login git-lab with admin user and click on “Configure Gitlab”
After Click on Configure Git-lab then click on Settings & Look for Sign-up Restriction
Click on “Expand” & Uncheck on “Sign-up Enabled” and Save Settings.
Logout from Admin and See now on the front page of Git-lab you won’t see Registration tab over there.
YouTube Link: Disable Signup In Gitlab
You’re done gitlab username restrictions sign-up restrictions gitlab no registration option gitlab gitlab user creation