Skip to content
This repository has been archived by the owner on Mar 27, 2022. It is now read-only.

How to reset your password

Tim Morgan edited this page Jul 29, 2017 · 2 revisions

If you cannot log in as an administrator because you've forgotten your password, ssh into your server and run these commands:

onebody run rails console
p = Person.find_by(email: '[email protected]')
p.password = 'password'
p.save!
exit

You should now be able to log in using that password!