Skip to content

Instantly share code, notes, and snippets.

@KustomDeveloper
Created August 16, 2019 15:22
Show Gist options
  • Select an option

  • Save KustomDeveloper/c3d98c2111e7c4cfb4b4256e6faa0c76 to your computer and use it in GitHub Desktop.

Select an option

Save KustomDeveloper/c3d98c2111e7c4cfb4b4256e6faa0c76 to your computer and use it in GitHub Desktop.
ProcessWire Superuser password change
//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