Author Topic: Change Admin Password  (Read 2561 times)

Offline chris

  • User
  • *
  • Posts: 5
    • View Profile
Change Admin Password
« on: October 27, 2013, 02:40:54 PM »
Hi

How can I change the password for the admin.
In the backend I tried with "set new password" and in the frontend I tried to set a new password, but it does not work.
I still have the old password. With the admin I can only login to the backend, not to the frontend.

Regards Chris

Offline admin

  • Administrator
  • User
  • *****
  • Posts: 688
    • View Profile
    • http://www.lordlamer.de
Re: Change Admin Password
« Reply #1 on: October 27, 2013, 07:43:36 PM »
Hi,

which knowledgeroot version are you using?
The admin user for frontend and backend are different!
The password hash for the backend login is saved in the config.
In the backend you can only change passwords for frontend!
So which password do you want to change? For backend or for frontend?

Frank

Offline chris

  • User
  • *
  • Posts: 5
    • View Profile
Re: Change Admin Password
« Reply #2 on: October 30, 2013, 08:55:42 AM »
Hi Frank

Thanks for your answer.
I have a new installation by a new provider and made a MySQL import for my database.
I am using version 1.04, but had the same problem also in older versions.
I like to change the backend password.

Regards Chris

Offline admin

  • Administrator
  • User
  • *****
  • Posts: 688
    • View Profile
    • http://www.lordlamer.de
Re: Change Admin Password
« Reply #3 on: October 30, 2013, 11:54:11 AM »
Hi,

ok. So go to the backend login page.
Enter your new credentials you want to use and click login.
You login will be denied but you will see a loginhash at the bottom.
Copy this hash and open your config/app.ini and go to section "[admin]".
Then you will see a value for loginhash. Replace it with your new hash.
After that save the config and try the login again.

regards,
Frank

Offline chris

  • User
  • *
  • Posts: 5
    • View Profile
Re: Change Admin Password
« Reply #4 on: October 30, 2013, 12:16:56 PM »
Hi Frank

Thank you verry much for your fast help.
Now I have a safe password.

Chris