Jump to content

Forgot password code results in page timeout


OrganizedFellow
 Share

Recommended Posts

I have tried each of these 3 snippets. The same result, both on localhost dev environment and DigitalOcean live server.

    $admin = $users->get('organizedfellow');
    $admin->setOutputFormatting(false);
    $admin->pass = 'PA55W0RD';
    $admin->save();

    $u = $users->get('organizedfellow');
    $u->of(false);
    $u->pass = 'PA55W0RD';
    $u->save();

    $users->get("organizedfellow")->setOutputFormatting(false)->set('pass', 'PA55W0RD')->save();

Using PW 2.7.2.

The page freezes and does not load. When I remove the code, it loads normally.

:(

Is there a new method of resetting password?

Link to comment
Share on other sites

3 minutes ago, Robin S said:

Maybe your new password does not meet the minimum security requirements for the field? Not sure if that could cause a timeout - you'd think there would be some error notice.

I wasn't aware of that requirement.

 

My password contains uppercase and lowercase letters and 1 number.

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