Skip to content

Commit a3efbf5

Browse files
authored
Merge pull request #1244 from Shadow243/cherry-pick-1243
Correct undefined const DEFAULT_NO_PASSWORD_SAVE in docker
2 parents c8fb1a2 + c45af67 commit a3efbf5

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

scripts/create_account.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232

3333
/* get config object */
3434
$config = new Hm_Site_Config_File();
35+
/* set the default since and per_source values */
36+
$environment->define_default_constants($config);
3537

3638
/* check config for db auth */
3739
if ($config->get('auth_type') != 'DB') {

scripts/delete_account.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030
$environment->load();
3131
/* get config object */
3232
$config = new Hm_Site_Config_File();
33+
/* set the default since and per_source values */
34+
$environment->define_default_constants($config);
3335

3436
/* check config for db auth */
3537
if ($config->get('auth_type') != 'DB') {

scripts/setup_database.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313

1414
/* get config object */
1515
$config = new Hm_Site_Config_File();
16+
/* set the default since and per_source values */
17+
$environment->define_default_constants($config);
1618

1719
$session_type = $config->get('session_type');
1820
$auth_type = $config->get('auth_type');

scripts/update_password.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@
3131
$environment->load();
3232
/* get config object */
3333
$config = new Hm_Site_Config_File(merge_config_files(APP_PATH.'config'));
34+
/* set the default since and per_source values */
35+
$environment->define_default_constants($config);
3436

3537
/* check config for db auth */
3638
if ($config->get('auth_type') != 'DB') {

0 commit comments

Comments
 (0)