Skip to content

Commit 423fcf3

Browse files
committed
expose to public config
1 parent d563de7 commit 423fcf3

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

services/web/server/src/simcore_service_webserver/application_settings.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,7 @@ def _get_disabled_public_plugins(self) -> list[str]:
384384
public_plugin_candidates: Final = {
385385
"WEBSERVER_EXPORTER",
386386
"WEBSERVER_FOLDERS",
387+
"WEBSERVER_LICENSES",
387388
"WEBSERVER_META_MODELING",
388389
"WEBSERVER_PAYMENTS",
389390
"WEBSERVER_SCICRUNCH",
@@ -451,16 +452,17 @@ def to_client_statics(self) -> dict[str, Any]:
451452
"SIMCORE_VCS_RELEASE_TAG": True,
452453
"SIMCORE_VCS_RELEASE_URL": True,
453454
"SWARM_STACK_NAME": True,
455+
"WEBSERVER_LICENSES": True,
456+
"WEBSERVER_LOGIN": {
457+
"LOGIN_ACCOUNT_DELETION_RETENTION_DAYS",
458+
"LOGIN_2FA_REQUIRED",
459+
},
454460
"WEBSERVER_PROJECTS": {
455461
"PROJECTS_MAX_NUM_RUNNING_DYNAMIC_NODES",
456462
},
457463
"WEBSERVER_TRASH": {
458464
"TRASH_RETENTION_DAYS",
459465
},
460-
"WEBSERVER_LOGIN": {
461-
"LOGIN_ACCOUNT_DELETION_RETENTION_DAYS",
462-
"LOGIN_2FA_REQUIRED",
463-
},
464466
"WEBSERVER_SESSION": {"SESSION_COOKIE_MAX_AGE"},
465467
},
466468
exclude_none=True,

0 commit comments

Comments
 (0)