Password reset possible? #580
-
|
Hello! unfortunatley I failed to save my password correctly. I'm wondering if there is a way to reset my admin users password via shell? Thank you in advance. Yours Sincerely |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Hi Jonas, yes. You need to connect to your database and then clear the password field on your admin account. If it is the only admin account, the next time you open reitti it should trigger the setup password flow. To reset the password:
Let me know if you need further help. I will add a section to the documentation in the next days for it. |
Beta Was this translation helpful? Give feedback.
-
|
Hi, thank you so much for your quick help. It worked flawlessly. Have a happy new year. Jonas |
Beta Was this translation helpful? Give feedback.
Hi Jonas,
yes. You need to connect to your database and then clear the password field on your admin account. If it is the only admin account, the next time you open reitti it should trigger the setup password flow.
To reset the password:
UPDATE users SET password = NULL WHERE id = 1;i expect that 1 is the id of your admin user. After that, restart reitti one time to clear the cache. Then try to open reitti, it should ask you for a new password.Let me know if you need further help. I will add a section to the documentation in the next days for it.