I faced this issue just now, if you are willing to get your hands dirty, do can do this:
- Create a new user with the new password from the UI
- Backup the SQLite database, just copying it should be enough.
- Open the database with sqlite, I used the cli:
sqlite3 db.sqlite
-
Get the password hash and salt from the new user (assuming it to be
test
) and note these values, they will look like random charactersselect password from user where name='test'; select salt from user where name='test';
-
Set the above values to the original user (assuming it to be
admin
)update user set password='', salt='' where name='admin';
I did all the above just to avoid setting up everything again. You be the judge if its worth the trouble. I am new to homarr so I am not sure if there is an easier hack for this, without setting up everything again.
You can do this from an sqlite UI editor as well I guess.