hi! I have a doubt, I didn't access fleet for a fe...
# fleet
h
hi! I have a doubt, I didn't access fleet for a few days and now I forgot my password, a bad idea not to have saved it in the safe. and I still hadn't configured smtp to be able to use the "forgot password" option. Is there any way to update the password through the command line (CLI) or through the SQL database?
1
👀 1
m
The easiest way would probably be updating the password in the db. You can use the following query (making sure to change the id to your user)
Copy code
update users set password = '$2a$12$OJ5/Qd106lwlM0caVupcDuWbDcrQxLSO2xyfZSJB8bFGGiw6uBNuS', salt = 'xFmPp2H2Z8cXRoKCtMoDfULHmfiWo104' where id = 1;
this would change the password to
admin123#
. After logging in, you should change the password to something else and save it somewhere
1
h
I will try it now
It works!!!
thanks !