Page 1 of 1

Re-enable the disabled admin account

Posted: 20 Jul 2023, 22:07
by Divinity7324
Hello to the Community,

Accidentally i have disabled the admin account and now i don't have any idea that any other admin account exist or not so i can enable the disabled admin account.

For context, I have locally deployed the MantisBT.

How can i enable this admin account? like making any changes in php configuration etc?

Kindly guide me on this

Re: Re-enable the disabled admin account

Posted: 21 Jul 2023, 06:59
by cas
you can use phpmyadmin to enable the account directly in the corresponding table, that will do the trick :mrgreen:

Re: Re-enable the disabled admin account

Posted: 24 Jul 2023, 08:29
by dregad
As mentioned by cas, you need to update the user record in your database using SQL

Code: Select all

UPDATE mantis_user_table SET enabled=1 WHERE username='admin';