Jump to content

I can't change password for admin


sendxt
 Share

Recommended Posts

The problem is after move processwire from one server to other, all work good , but i can't coonecting to my admin profile, 'login failed'. 

I try change my home page :

$user = $users->get("user's name"); 
$user->pass = "user's new password";
$user->save();

but it still does not work

I don't know that me to do, maybe need put script to create new admin user? if you have such a script, give me please)

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...