Skip to content

Instantly share code, notes, and snippets.

@pathcl
Forked from 0xKayvan/gitlab-reenable-signin.sh
Created January 3, 2024 18:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pathcl/36e9f26006c66a8a658674a8d5916759 to your computer and use it in GitHub Desktop.
Save pathcl/36e9f26006c66a8a658674a8d5916759 to your computer and use it in GitHub Desktop.
enable gitlab sign-in after accidentally disable it in admin
sudo gitlab-rails console
ApplicationSetting.last.update_attributes(signin_enabled: true)
exit
sudo gitlab-ctl restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment