Support درخواست اموزش عوض کردن رمز مدیریت

rezaodin

Registered
رمز مدیریت سایتمو گم کردم
چجوری از داخل هاستم عوض کنم؟
 

Reza684

Registered
Reset admin password

Code:
UPDATE xf_user_authenticate
SET data = BINARY
    CONCAT(
        CONCAT(
            CONCAT('a:3:{s:4:"hash";s:40:"', SHA1(CONCAT(SHA1('YOU PASS HERE'), SHA1('salt')))),
            CONCAT('";s:4:"salt";s:40:"', SHA1('salt'))
        ),
        '";s:8:"hashFunc";s:4:"sha1";}'
    ),
scheme_class = 'XF:Core'
WHERE user_id = 317;
 

Thirtynader

Registered
Inside the XenForo forum's installation directory (the folder that contains the site's core files, the one where cmd.php is located), please run this command via SSH:
Code:
php cmd.php xf:create-admin
After running this command, the terminal will ask a few questions:
  1. Username: the desired username for the new admin
  2. Email: the desired email address (must be valid; ideally one you have access to)
  3. Password: the desired password (nothing will be displayed while typing, this is normal)
If you don't have SSH/Terminal access to your hosting, ask your hosting support to run this for you.
 
Back
Top Bottom