Reset Admin Password

Reset Admin Password

To reset the admin password, run the following commands using the Web terminal:

sudo -u git bundle exec rails c -e production
=> user = User.where(id: 1).first
=> user.password = 'NEW_PASS'
=> user.password_confirmation = 'NEW_PASS'
=> user.save
=> exit