Created
November 27, 2015 09:23
-
-
Save janpapenbrock/82752aa00b5845c83e1a to your computer and use it in GitHub Desktop.
Magento Create Admin User Password Hash
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
<?php | |
define('MAGENTO', realpath(dirname(__FILE__))); | |
require_once (MAGENTO . '/app/Mage.php'); | |
Mage::app(); | |
$password = 'super-secret'; | |
$hash = Mage::helper('core')->getHash($password, Mage_Admin_Model_User::HASH_SALT_LENGTH); | |
echo $hash; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment