How do I restore my Bitrix administrator password?
I’ve lost my Bitrix administrator password. What to do?
1. Save the following script to a file:
<? require($_SERVER[‚DOCUMENT_ROOT‘].“/bitrix/header.php“); echo $USER->Update(1,array(„PASSWORD“=>’Bitrix*123456′)); echo $USER->LAST_ERROR; require($_SERVER[‚DOCUMENT_ROOT‘].“/bitrix/footer.php“); ?> |
2. Download it to your site using FTP and request it in your browser.
After performing these actions the user with ID=1 (it is Admin by default) will have the ‚Bitrix*123456‘ password.
3. Log in at your site and change the password.
Attention! It is necessary to delete this file after restoring the password.
How do I restore my Bitrix administrator password?
I’ve lost my Bitrix administrator password. What to do?
1. Save the following script to a file:
<? require($_SERVER[‚DOCUMENT_ROOT‘].“/bitrix/header.php“); echo $USER->Update(1,array(„PASSWORD“=>’Bitrix*123456′)); echo $USER->LAST_ERROR; require($_SERVER[‚DOCUMENT_ROOT‘].“/bitrix/footer.php“); ?> |
2. Download it to your site using FTP and request it in your browser.
After performing these actions the user with ID=1 (it is Admin by default) will have the ‚Bitrix*123456‘ password.
3. Log in at your site and change the password.
Attention! It is necessary to delete this file after restoring the password.
How do I restore my Bitrix administrator password?
I’ve lost my Bitrix administrator password. What to do?
1. Save the following script to a file:
<? require($_SERVER[‚DOCUMENT_ROOT‘].“/bitrix/header.php“); echo $USER->Update(1,array(„PASSWORD“=>’Bitrix*123456′)); echo $USER->LAST_ERROR; require($_SERVER[‚DOCUMENT_ROOT‘].“/bitrix/footer.php“); ?> |
2. Download it to your site using FTP and request it in your browser.
After performing these actions the user with ID=1 (it is Admin by default) will have the ‚Bitrix*123456‘ password.
3. Log in at your site and change the password.
Attention! It is necessary to delete this file after restoring the password.