A common technical support request is the recovery of a lost password.  Recovering a lost password for Contao requires that you have access to a database utility and the database in which the password resides.  The following article explains how to recover or reset the Contao Administrator password using phpMyAdmin.

Resetting an Administrator Password for Contao

  1. Login to the Cpanel
  2. Go to the Database section and select phpMyAdmin.  You will then find the database for your Contao installation.  When you have located your database, look for the table labeled tl_user.  Here's how it may look:

    recoverpw-table-tluser

  3. Click on the table and it will open up into something like the following:

    recoverpw-phpmyadm-interface2
    Note that you may need to find the admin user based on the user name (if you know it).  If you do NOT know the Administrator's user name, you can also look for the column ID ADMIN - if there is a value of 1 in the field, then that user is an Administrator. Once you have found your administrator user, click on EDIT (at the beginning of the line) in order to change the password for the admin user.

  4. Scroll down the list of values assigned to the user name until you find the column ID labeled PASSWORD. The following screen indicates how you will change the password:

    recoverpw-phpmyadm-pw-entry
    As per the steps listed above:  1) Click in the field with the old encoded password and type in a new password (it will appear un-encoded), then 2)Click on the drop-down menu and select the SHA1 encryption option. 

  5. The last part requires that you scroll down to the bottom until you see the following:

    recoverpw-SAVE
    Click on GO in order to save the changes.

As per the Contao documentation, you can also use the following encrypted password if you're still having issues recovering the password:

8e0107bf1c7fbeef6538dff7173aa458e7dd585e:8c37627a0e2c606189e7765

You use the same steps to find the administrator and password above, then copy and paste the value into the database field for the password.  The encrypted password is:  reset123.  You should be able to log back into the Contao Back end with that change and then immediately RESET the password by editing the user. 

 

Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Did you find this article helpful?

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 757-416-6627 Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.
}