Skip to content

Commit

Permalink
[InstallController] Improve readability of the cronSecurityHash
Browse files Browse the repository at this point in the history
  • Loading branch information
pH-7 committed Mar 31, 2022
1 parent 752d216 commit f8ee07b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _install/controllers/InstallController.php
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ public function config_site(): void
)
);
$rStmt->execute(
['securityHash' => generate_hash(2) . 'change_this_secret_cron' . generate_hash(3)]
['securityHash' => generate_hash(2) . 'Change_this_secret_word_' . generate_hash(3)]
);

if (!empty($_POST['sample_data_request'])) {
Expand Down
2 changes: 1 addition & 1 deletion _install/library/SqlQuery.class.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @author Pierre-Henry Soria <[email protected]>
* @copyright (c) 2019-2020, Pierre-Henry Soria. All Rights Reserved.
* @copyright (c) 2019-2022, Pierre-Henry Soria. All Rights Reserved.
* @license MIT License; See PH7.LICENSE.txt and PH7.COPYRIGHT.txt in the root directory.
* @package PH7 / Install / Library
*/
Expand Down

0 comments on commit f8ee07b

Please sign in to comment.