18 lines
524 B
Python
18 lines
524 B
Python
from django.apps import AppConfig
|
|
|
|
|
|
class SecurityConfig(AppConfig):
|
|
default_auto_field = "django.db.models.BigAutoField"
|
|
name = "infrasynth.security"
|
|
label = "infrasynth_security"
|
|
|
|
def ready(self):
|
|
from infrasynth.features.registry import FeatureRegistry
|
|
|
|
FeatureRegistry.register(
|
|
"security",
|
|
name="Security & Access",
|
|
description="Authentication, authorization, 2FA, API keys, ALTCHA",
|
|
default=True,
|
|
category="system",
|
|
)
|