shi*_*ang 7 email confirmation gitlab
目前,我正在使用Gitlab,我喜欢使用这个伟大的.
但是,有些用户无法收到确认电子邮件而无法登录.我想1)通过我的管理员权限确认它们或2)配置系统不发送电子邮件确认.
有任何想法吗?先感谢您.
小智 6
就像@ shin-haeng-kang所说,对于新用户,signup_enabled: false在网站设置中设置并从管理菜单创建用户,然后在创建用户后编辑密码将起作用.
如果用户已经存在,我发现以下问题请求显示了如何手动编辑postgres数据库.
从gitlab服务器:
sudo -u git -H psql -d gitlabhq_production
gitlabhq_production=> update users set confirmation_token=null, confirmed_at=now() where confirmed_at is null;
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
4217 次 |
| 最近记录: |