Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Jan 17, 2024
1 parent 4ed8914 commit e6591f4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions dcor_control/cli/inspect.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ def inspect(assume_yes=False):
inspect_mod.check_ckan_ini(autocorrect=assume_yes)

click.secho("Checking beaker session secret...", bold=True)
inspect_mod.check_ckan_beaker_session_cookie_validate_key(
autocorrect=assume_yes)
inspect_mod.check_ckan_beaker_session_cookie_secret(autocorrect=assume_yes)

click.secho("Checking www-data permissions...", bold=True)
for path in [
Expand Down
2 changes: 1 addition & 1 deletion dcor_control/inspect/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from .common import check_permission
from .config_ckan import (
check_ckan_ini,
check_ckan_beaker_session_cookie_validate_key,
check_ckan_beaker_session_cookie_secret,
check_dcor_theme_i18n_hack,
check_dcor_theme_main_css,
check_ckan_uploader_patch_to_support_symlinks,
Expand Down
2 changes: 1 addition & 1 deletion dcor_control/inspect/config_ckan.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from . import common


def check_ckan_beaker_session_cookie_secrets(autocorrect=False):
def check_ckan_beaker_session_cookie_secret(autocorrect=False):
"""Generate a beaker cookie hash secret
This is the secret token that the beaker library uses to hash the
Expand Down

0 comments on commit e6591f4

Please sign in to comment.