甚至也忘记了邮箱,或许是默认邮箱无法使用。

 

需要在服务器上面直接修改数据:

 

gitlab-rails console production

user = User.where(id: 1).first
user.password = 'secret_pass'
user.password_confirmation = 'secret_pass'

user.save!

 

相关文章:

  • 2021-11-22
  • 2022-12-23
  • 2021-12-23
  • 2021-12-23
  • 2021-12-23
  • 2021-12-04
  • 2021-12-04
  • 2021-12-13
猜你喜欢
  • 2021-06-08
  • 2022-02-26
  • 2021-09-16
  • 2021-05-07
  • 2021-11-21
相关资源
相似解决方案