jen

All user/passwords do not work anymore

Recommended Posts

Yesterday we somehow lost access to all current admin, superuser/passwords to processwire.  We tried using the reset password form and nothing was sent.  We began noticing some of the menu buttons went missing as well as some photos.  Any suggestions how to resolve the login issue?

 

 

Share this post


Link to post
Share on other sites

Howdy @jen, and welcome to the forums.

First, you can use this RESET to gain access to the admin page. Then we can proceed from there.

  • Like 3

Share this post


Link to post
Share on other sites

Thank you.  

We tried that earlier using different user names and none worked.  

Is there any other options?

Share this post


Link to post
Share on other sites
9 hours ago, jen said:

We began noticing some of the menu buttons went missing as well as some photos.

Something (someone?) must have changed your site I guess. Loosing all passwords and at the same time you have a site that "somehow" changed? Do you have a backup?

BTW, more troubleshooting tips can be found here, for example: 

 

  • Like 2

Share this post


Link to post
Share on other sites

When all passwords won't work anymore at the same time I'm pretty sure someone changed the salt in the /site/config.php. 

595a302ce3b5f_ScreenShot2017-07-03at13_52_28.png.a5bdd670135231c83400ca028c6d5327.png

Otherwise find a superuser in the 'pages' table in phpMyAdmin or another databasetool and try to reset it.

  • Like 2

Share this post


Link to post
Share on other sites
37 minutes ago, arjen said:

someone changed the salt

I was thinking of it too, but even in that case the password reset should work but he reported the opposite.

Share this post


Link to post
Share on other sites
10 minutes ago, szabesz said:

I was thinking of it too, but even in that case the password reset should work but he reported the opposite.

require "index.php";
$admin = $users->get('admin'); // or whatever your username is
$admin->setAndSave('pass', 'yo123456');
$session->redirect($config->urls->admin);

@jen, something else is happening that we don't know about. Do you get any error messages? 404 page? Do y'all know the admin url?

Edited by rick
accidentally saved before completed.
  • Like 1

Share this post


Link to post
Share on other sites
5 hours ago, szabesz said:

I was thinking of it too, but even in that case the password reset should work but he reported the opposite.

Agree, but are we sure the right script has been executed with the right usernames? Perhaps they don't know the right usernames and therefore it seems like it won't work. I would suggest looking up in the database. Assumptions ... :) 

@jen, where did you execute the reset script? Did you get any errors? 

 

  • Like 2

Share this post


Link to post
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


  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By AndZyk
      Hello,
      can somebody tell me, if it is possible to get the clear password of an InputfieldPassword inside a module, before it is encrypted?
      I have made a custom module which sets the password of an Auth0User after the hook publishReady with a random generated password. When I try to get a clear password from a InputfieldPassword in this hook, it is of course already encrypted (which is of course good). But is there a hook before the encryption, so I could get it one time to send it to Auth0?
      If there is not such thing, could be another possibility to add a jQuery script to get the value directly from the DOM and save it somewhere temporarily?
      I know this might be an unusual question, but I would appreciate any feedback. 
      Regards, Andreas
    • By Robin S
      Password Generator
      Adds a password generator to InputfieldPassword.

       
      Usage
      Install the Password Generator module.
      Now any InputfieldPassword has a password generation feature. The settings for the generator are taken automatically from the settings* of the password field.
      *Settings not supported by the generator:
      Complexify: but generated passwords should still satisfy complexify settings in the recommended range. Banned words: but the generated passwords are random strings so actual words are unlikely to occur.  
      https://github.com/Toutouwai/PasswordGenerator
    • By Slav
      Hey guys... Ok so I have a problem with a registration form password inputfield... The problem is that InputfieldPassword.js and InputfieldPassword.css are not loaded/fired. Or I dont even know exactly what is happening... Im pretty new to processwire and the website was not created by me so Im trying to figure out what has been done and how processwire works. Anyway this is how the form looks right now:

      ...and as you can see the styling is off (password validation check in particular)... this is what I see when page is loaded (without adding any input)... it looks like js and css files from wire/modules/Inputfield/InputfieldPassword are not firing... I dont know how it is supposed to work exactly so I dont even know where to start.
      Maybe someone has had similar problem and know an easy fix or can navigate me to what could cause this situation in PW.
      Oh by the way this problem occured when upgrading the PW version (current version 3.0.65)... everything else is ok... this is the only problem that has been found after upgrade...
      Appreciate all the help!
      Cheers!
    • By modifiedcontent
      I have a simple front-end password update form like this:
      In the browser the label of the second field shows up as follows:
      WTH?!
      I can't figure out what is changing the label, what is inserting /processwire/ and reformatting the thing. Is this something in PW? A "helpful" thing that browsers do?
      Edit:
      The problem disappears if I simply rename the second field to 'Confirm Password'.
      So my problem is solved, but I'll leave this here in case this is some kind of bug.
    • By modifiedcontent
      How do you get the same 'set password' form/input fields on the front-end as in the admin area?
      I have a working front-end version, but the admin version has some nifty stuff around it. Should be easy to get the same on the front-end, right?