- A+
所属分类:Error
刚刚在配置gitlab的时候误操作了一下,禁止了用户登录,用户登录后台会提示'No authentication methods configured.'
解决方法如下:
0 1 2 3 4 5 6 7 8 9 |
[byrd@abc ~]$ sudo gitlab-psql gitlabhq_production could not change directory to "/home/byrd" psql (9.2.18) Type "help" for help. gitlabhq_production=# UPDATE application_settings set signin_enabled=true; UPDATE 5 gitlabhq_production=# quit gitlabhq_production-# ^D\q [byrd@abc ~]$ sudo gitlab-ctl restart |
参考:
1:https://www.libaocai.com/5727.html
2:http://blog.csdn.net/bailyzheng/article/details/53749414