GitLab 后台修改用户密码
# 打开控制台
gitlab-rails console production
# 找到用户,输入密码,确认密码,保存
user = User.find_by(username: 'zhangsan')
user.password = '12345678'
user.password_confirmation = '12345678'
user.save!
# 打开控制台
gitlab-rails console production
# 找到用户,输入密码,确认密码,保存
user = User.find_by(username: 'zhangsan')
user.password = '12345678'
user.password_confirmation = '12345678'
user.save!