Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gitlab关闭了sign-in,web端无法登录 #20

Open
itstrive opened this issue Aug 20, 2019 · 0 comments
Open

gitlab关闭了sign-in,web端无法登录 #20

itstrive opened this issue Aug 20, 2019 · 0 comments

Comments

@itstrive
Copy link
Owner

有些人部署完gitlab以后,想着关掉注册,结果可能手贱(或者网上的文章坑人),把sign-in给关闭了,结果你重新登录,发现没入口了。

别急,数据改改就好:

  • 进入到 gitlab部署的server服务器
  • 进入postsql
gitlab-psql gitlabhq_production
  • 执行Update语句修改即可
update application_settings set password_authentication_enabled = true;

输入: \q 退出

  • 重启gitlab服务器
gitlab-ctl restart

出现502别急,在稍微等等,服务器还在启动中。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant