刚刚在配置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 SourceByrd's Weblog-https://note.t4x.org/error/no-authentication-methods-configured/
申明:除非注明Byrd's Blog内容均为原创,未经许可禁止转载!详情请阅读版权申明!