Jump to content

How do I reset admin password?


Larhendiel
 Share

Recommended Posts

Happened to me as well. I have no recovery email and no password. I do have ftp access and database access, but how do I reset my password?

I tried pasting things like the one below but it didn't help. Chat GPT isclueless too, please help, processwire is version 3

$temp = $users->get('admin');
$temp->of(false);
$temp->pass = 'newPass23';
$temp->save();
Link to comment
Share on other sites

  • 5 months later...

On my latest PW installation the login was suddenly not possible anymore. I tried to to follow both instructions, but it didn't solve the issue. 

At the end I had to fully re-install PW. 

Just as a note: bot codes above are working only once. On every call the password has to be changed.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...