Disable sign up form on gitlab

 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,


  1. Open terminal where gitlab installed.

  2. Open gitlab console by entering below command.

    1. gitlab-rails c

      1. settings = ApplicationSetting.last

      2. settings.update_column(:runners_registration_token_encrypted, nil)

      3. exit

  3. Restart gitlab.

    1. gitlab-ctl restart


Now, follow above steps again to disable sign up.

 

Comments

Popular posts from this blog

Error while connecting RDP "an authentication error has occurred the token supplied to the function is invalid".

Windows shared network printer issue in ubuntu 18.04

Rename printer from command line in ubuntu.