sudo gitlab-rails console
ApplicationSetting.last.update_attributes(password_authentication_enabled_for_web: true)
sudo gitlab-rails console
ApplicationSetting.last.update_attributes(password_authentication_enabled_for_web: true)
转载于:https://www.cnblogs.com/jiuchongxiao/p/9634874.html