i forgot my admin password , how to reset it ?

ShieldX

Well-known member
Registered
Joined
Mar 27, 2022
Messages
555
Points
53

Reputation:

what will be the reset URL guyz.. because there is nothing like showing reset your password..
 

DarkMaster

Collaborate
Collaborate
Registered
Joined
Feb 14, 2020
Messages
40
Points
28

Reputation:

run this command in phpmyadmin or whatever you use and where it says user id=1 make sure it is your user id
and also change new-password to your password you require

UPDATE xf_user_authenticate
SET data = BINARY
CONCAT(
CONCAT(
CONCAT('a:3:{s:4:"hash";s:40:"', SHA1(CONCAT(SHA1('new-password'), SHA1('salt')))),
CONCAT('";s:4:"salt";s:40:"', SHA1('salt'))
),
'";s:8:"hashFunc";s:4:"sha1";}'
),
scheme_class = 'XF:Core'
WHERE user_id = 1;
 

Splicho

Synapse-Themes.cc Owner
Staff member
Moderator
Collaborate
Registered
Joined
Jan 21, 2022
Messages
836
Points
153

Reputation:

I would make a new account and then go into xf_users and set yourself to admin.
Then go to ACP, change your password and done.
 

thomsa

Moderator
Staff member
Moderator
S.V.I.P Member
Collaborate
Registered
Joined
Jun 22, 2019
Messages
1,167
Points
173

Reputation:

Splicho

Synapse-Themes.cc Owner
Staff member
Moderator
Collaborate
Registered
Joined
Jan 21, 2022
Messages
836
Points
153

Reputation:

one_finger_man

Well-known member
Registered
Joined
Jan 20, 2022
Messages
419
Points
53

Reputation:

there is an easy way to do this in your hosting you will need to log in to your hosting go to
look for users and your id you can change the email and have yta password rest with the new email
cPanel-Tools.png
 
Top