Skip to content
This repository has been archived by the owner on Sep 25, 2018. It is now read-only.

Commit

Permalink
generatefirstuser path
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesportwoodii committed Dec 31, 2013
1 parent b811db4 commit 2afa66b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions protected/commands/CiiSetupCommand.php
Expand Up @@ -75,7 +75,7 @@ private function generateHash($overrideConfig = false)

// If the params file already exists, import it
if (file_exists($paramsFile))
$params = require $paramsFile;
$params = CMap::mergeArray($paramsTemplate, require $paramsFile);

if (empty($params))
$params = $paramsTemplate;
Expand Down Expand Up @@ -164,4 +164,4 @@ public function getEncryptedPassword($email, $password, $hash)
$hash = $this->encryptHash($email, $password, $hash);
return password_hash($hash, PASSWORD_BCRYPT, array('cost' => 13));
}
}
}

0 comments on commit 2afa66b

Please sign in to comment.