-
-
Save pathcl/36e9f26006c66a8a658674a8d5916759 to your computer and use it in GitHub Desktop.
enable gitlab sign-in after accidentally disable it in admin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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