in this post you will learn to reset your xtream UI / Xtream codes password.
please follow the instruction step by step you may need this if you;
- forget your password
- do not remember the username of the admin panel
- after the database migration to a new server
- exposed password unintentionally
We will use MySQL queries to reset the password and it will be admin/admin again.
first, use ssh to login into your server after you logged into your server you need to run the below commands one by one.
Login to the MySQL Server:
sudo mysql -u root
Now copy & paste following commands one after another:
UPDATE xtream_iptvpro.reg_users SET password=’$6$rounds=20000$xtreamcodes$XThC5OwfuS0YwS4ahiifzF14vkGbGsFF1w7ETL4sRRC5sOrAWCjWvQJDromZUQoQuwbAXAFdX3h3Cp3vqulpS0′ WHERE id=’1′;
UPDATE xtream_iptvpro.reg_users SET username = ‘admin’ WHERE id = ‘1’;
UPDATE xtream_iptvpro.reg_users SET member_group_id = ‘1’ WHERE id = ‘1’;
exit
Now it's ready and you can log in with admin / admin username and password to your xtream ui