Skip to content

Commit

Permalink
Merge pull request #1 from TomHAnderson/hotfix/bcrypt-cost
Browse files Browse the repository at this point in the history
Use configured cost for bcrypt instead of fixed 14
  • Loading branch information
TomHAnderson committed May 9, 2016
2 parents be4bb45 + 801b7d2 commit 788e23c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/ClientController.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public function createAction()
}

$bcrypt = new Bcrypt();
$bcrypt->setCost(14);
$bcrypt->setCost($config['bcrypt_cost']);
$clientEntity->setSecret($bcrypt->create($secret));
}

Expand Down

0 comments on commit 788e23c

Please sign in to comment.