Advertisement:

Author Topic: Admin Account cannot login/reset password?  (Read 2722 times)

Offline Sigyn

  • Semi-Newbie
  • *
  • Posts: 91
  • Gender: Female
    • Dragon's Rise AU
Admin Account cannot login/reset password?
« on: October 05, 2017, 12:00:22 AM »
Neither myself nor my other admin can login to our accounts. We use the emails that we made the accounts with to send an email to change the password but it doesn't send. The mods are unable to see the details needed on the account in order to make changes.

What can we do to fix this issue?

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 6,834
  • Too long in the wasteland
Re: Admin Account cannot login/reset password?
« Reply #1 on: October 05, 2017, 12:20:51 AM »
Go into your database, smf_members table, find your admin account, delete password_salt, enter new plain text password in passwd.  That should get you in.


Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 67,723
    • Arantor on GitHub
Re: Admin Account cannot login/reset password?
« Reply #2 on: October 05, 2017, 03:29:19 AM »
The above advice is definitely accurate for 2.0, I'm not 100% sure it's the same in 2.1 after the password system was changed.
To assume is to hope that those who came before had the presence of mind and capacity to implement the dreams of those who would come after.

You either die a hero or live long enough to see yourself become the villain. It seems you have chosen which, and now I must do the same.

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 6,834
  • Too long in the wasteland
Re: Admin Account cannot login/reset password?
« Reply #3 on: October 05, 2017, 04:04:15 PM »
I looked, same fields, should work the same.  Didn't have time to try it.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 67,723
    • Arantor on GitHub
Re: Admin Account cannot login/reset password?
« Reply #4 on: October 05, 2017, 05:07:11 PM »
I looked, same fields, should work the same.  Didn't have time to try it.


The contents and underlying logic is somewhat different now. SHA1 is no longer the password format, for example, and password salt is used in a different way now.
To assume is to hope that those who came before had the presence of mind and capacity to implement the dreams of those who would come after.

You either die a hero or live long enough to see yourself become the villain. It seems you have chosen which, and now I must do the same.

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 6,834
  • Too long in the wasteland
Re: Admin Account cannot login/reset password?
« Reply #5 on: October 05, 2017, 05:18:51 PM »
Just tried it, doesn't work in 2.1.  Is there another way to do it?

@Sigyn - couple of options that do work, if you can register a new account, do that, then go into smf_members and change id_group of new member to 1.  Or you can do same for one of your moderators, and have them reset password in your existing admin account.
« Last Edit: October 05, 2017, 05:44:45 PM by Sir Osis of Liver »

Offline Illori

  • Project Manager
  • SMF Master
  • *
  • Posts: 47,670
Re: Admin Account cannot login/reset password?
« Reply #6 on: October 05, 2017, 07:25:51 PM »
we dont even know for sure that the op is using SMF 2.0 or SMF 2.1. looking at prior posts i would think SMF 2.0.

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 6,834
  • Too long in the wasteland
Re: Admin Account cannot login/reset password?
« Reply #7 on: October 05, 2017, 11:45:19 PM »
Well, my first advice works in 2.0, second method works in 2.0 and 2.1, so one or the other should be applicable.