Skip to content

Commit

Permalink
🐛(config) fix settings after applying formatters on all sources
Browse files Browse the repository at this point in the history
applying the setting formatters on settings defined in the code
has surface some errors that need to be fixed.
  • Loading branch information
sampaccoud committed Oct 1, 2018
1 parent f12325c commit 0d293ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/cms/docker_run_production.py
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@
)
PASSWORD_DICTIONARY_EDIT_DISTANCE_THRESHOLD = config(
"PASSWORD_DICTIONARY_EDIT_DISTANCE_THRESHOLD",
default="PASSWORD_DICTIONARY_EDIT_DISTANCE_THRESHOLD",
default=PASSWORD_DICTIONARY_EDIT_DISTANCE_THRESHOLD,
formatter=int,
)
PASSWORD_DICTIONARY = config("PASSWORD_DICTIONARY", default=[], formatter=json.loads)
Expand Down
3 changes: 1 addition & 2 deletions config/lms/docker_run_production.py
Original file line number Diff line number Diff line change
Expand Up @@ -853,7 +853,7 @@
)
PASSWORD_DICTIONARY_EDIT_DISTANCE_THRESHOLD = config(
"PASSWORD_DICTIONARY_EDIT_DISTANCE_THRESHOLD",
default="PASSWORD_DICTIONARY_EDIT_DISTANCE_THRESHOLD",
default=PASSWORD_DICTIONARY_EDIT_DISTANCE_THRESHOLD,
formatter=int,
)
PASSWORD_DICTIONARY = config("PASSWORD_DICTIONARY", default=[], formatter=json.loads)
Expand All @@ -867,7 +867,6 @@
TIME_ZONE_DISPLAYED_FOR_DEADLINES = config(
"TIME_ZONE_DISPLAYED_FOR_DEADLINES",
default=TIME_ZONE_DISPLAYED_FOR_DEADLINES,
formatter=json.loads,
)

##### X-Frame-Options response header settings #####
Expand Down

0 comments on commit 0d293ed

Please sign in to comment.