gitlab忘记密码后破解!gitlab-rails console production irb(main)::> user = User.where(id:).first irb(main)::> user.password='!$zaq12wsx' irb(main)::> user.save! => true irb(main)::> exit如下图所示: