# gitlab-rails console
user = User.find_by_email("bob@xxxxx.com")
user.state = "active"
user.save
exit
gitlab手动解除帐号
未经允许不得转载:陈桂林博客 » gitlab手动解除帐号
# gitlab-rails console
user = User.find_by_email("bob@xxxxx.com")
user.state = "active"
user.save
exit