For your gitlab security it is necessary to disable signup form. because anyone can create new user and start working on it.
- Login with administrator account
- Click on Settings symbol on top of page.
- Click on settings on left corner of page.
- General.
- Expand on signup restrictions.
- Disable the signup page.
If error 500 showing at that time of saving page then,
Open terminal where gitlab installed.
Open gitlab console by entering below command.
gitlab-rails c
settings = ApplicationSetting.last
settings.update_column(:runners_registration_token_encrypted, nil)
exit
Restart gitlab.
gitlab-ctl restart
Now, follow above steps again to disable sign up.