Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -540,17 +540,18 @@ def to_client_statics(self) -> dict[str, Any]:
"SIMCORE_VCS_RELEASE_TAG": True,
"SIMCORE_VCS_RELEASE_URL": True,
"SWARM_STACK_NAME": True,
"WEBSERVER_DEV_FEATURES_ENABLED": True,
"WEBSERVER_LOGIN": {
"LOGIN_ACCOUNT_DELETION_RETENTION_DAYS",
"LOGIN_2FA_REQUIRED",
},
"WEBSERVER_PROJECTS": {
"PROJECTS_MAX_NUM_RUNNING_DYNAMIC_NODES",
},
"WEBSERVER_SESSION": {"SESSION_COOKIE_MAX_AGE"},
"WEBSERVER_TRASH": {
"TRASH_RETENTION_DAYS",
},
"WEBSERVER_SESSION": {"SESSION_COOKIE_MAX_AGE"},
},
exclude_none=True,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ def test_settings_to_client_statics_plugins(
assert settings.WEBSERVER_LOGIN

assert "webserverLicenses" not in statics
assert "webserverDevFeaturesEnabled" in statics

assert (
statics["webserverLogin"]["LOGIN_ACCOUNT_DELETION_RETENTION_DAYS"]
Expand Down
Loading