Created
August 16, 2019 15:22
-
-
Save KustomDeveloper/c3d98c2111e7c4cfb4b4256e6faa0c76 to your computer and use it in GitHub Desktop.
ProcessWire Superuser password change
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Add to header.php file and reload page | |
| <?php | |
| $u = $users->get('admin'); // or whatever your supersuser name is | |
| $u->of(false); | |
| $u->pass = 'strong_password'; | |
| $u->save(); | |
| ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment