-
I changed the password via web panel then I logged out (I did not find something like unlogin and just opened the page in another tab) logged in, the new password was not accepted and I concluded that the password has not changed, but today I tried to log in again and already with the old password does not let me in, it still applied. Question how to reset the administrator password? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 4 replies
-
Same issue for me, solved it with using the admin.secret in the first line in config.toml. |
Beta Was this translation helpful? Give feedback.
-
Probably easiest to reinstall, assuming you haven't spent to much time optimizing. |
Beta Was this translation helpful? Give feedback.
-
Yes, there is no logout functionality right now in the UI; I'm sure it's coming. After you changed the password, it probably applied the change to your config.toml but your login session in the browser was still active with your old password. So just opening a new tab will not log you out or reset your login session. You would have to clear your cookies for the admin ui. Then you would be able to log in with the new password after changing it in the UI. If you want to set your new password in the config.toml, you will have to hash your password and only enter the hashed password in the config.toml, not the plain text password. From this part in the docs (creating user accounts in SQL DBs), you can use this command from a terminal to hash a password using the
For example: for the password
|
Beta Was this translation helpful? Give feedback.
-
I solved the problem by adding these lines to the config:
Then I logged in under that user and create a new user |
Beta Was this translation helpful? Give feedback.
-
If it's helpful, I made this detailed tutorial after I went through this to maybe help someone else in the same boat. |
Beta Was this translation helpful? Give feedback.
I solved the problem by adding these lines to the config:
Then I logged in under that user and create a new user
admin
with superuser rights, because the web-panel and cliaccount list
didn't show the built-inadmin
user so I could just change his password. I don't know if I actually created a new user or if it overlapped with the built-in accountadmin
. In the end, I log in as admin which has superuser privileges and I seem to have all the privileges that were available through the built-inadmin
account. But in general it's strange, I remember exactly that in version0.6.0
the bu…