A
A
Andrey Menshenin2016-11-16 16:56:55
MODX
Andrey Menshenin, 2016-11-16 16:56:55

How to recover the password from the MODX admin panel?

Good afternoon! I'm building a MODX Revo website on Localhost. I am using Ampps build. Foolishly, I changed the rights to all folders inside ampps to 777, and then to 755. I can go to phpmyadmin, but I can’t access the site itself through the control panel. It says "Incorrect username or password". I tried to follow this instruction: wideas.ru/2015/02/reset_admin_password_mod_revo Changed hash_class to hashing.modMD5 in the inar_users table in the database Deleted the salt value, changed password to 'pass', specifying MD5 Didn't help. I think there is something wrong with the file permissions on the local server

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
zooks, 2016-11-16
@FitzgeraldFox

UPDATE modx_users SET hash_class = 'hashing.modMD5', password = MD5('the-new-password') WHERE username = 'theusername';

https://docs.modx.com/revolution/2.x/administering...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question