Skip to content

Commit

Permalink
Merge pull request cypht-org#1243 from Shadow243/correct-undefined-co…
Browse files Browse the repository at this point in the history
…nst-docker

Correct undefined const DEFAULT_NO_PASSWORD_SAVE in Docker
  • Loading branch information
Shadow243 authored Sep 14, 2024
2 parents b4db07b + dc53651 commit 927877a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/create_account.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@

/* get config object */
$config = new Hm_Site_Config_File();
/* set the default since and per_source values */
$environment->define_default_constants($config);

/* check config for db auth */
if ($config->get('auth_type') != 'DB') {
Expand Down
2 changes: 2 additions & 0 deletions scripts/delete_account.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
$environment->load();
/* get config object */
$config = new Hm_Site_Config_File();
/* set the default since and per_source values */
$environment->define_default_constants($config);

/* check config for db auth */
if ($config->get('auth_type') != 'DB') {
Expand Down
2 changes: 2 additions & 0 deletions scripts/setup_database.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

/* get config object */
$config = new Hm_Site_Config_File();
/* set the default since and per_source values */
$environment->define_default_constants($config);

$session_type = $config->get('session_type');
$auth_type = $config->get('auth_type');
Expand Down
2 changes: 2 additions & 0 deletions scripts/update_password.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
$environment->load();
/* get config object */
$config = new Hm_Site_Config_File(merge_config_files(APP_PATH.'config'));
/* set the default since and per_source values */
$environment->define_default_constants($config);

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

0 comments on commit 927877a

Please sign in to comment.