feat: Add basic user handling

This commit is contained in:
2024-04-07 10:00:17 +02:00
parent 9af46290fa
commit e3ee4a2d32
18 changed files with 170 additions and 1 deletions

View File

@@ -76,6 +76,10 @@ else:
EMAIL_USE_TLS = config.getboolean('mail', 'tls', fallback=False)
EMAIL_USE_SSL = config.getboolean('mail', 'ssl', fallback=False)
"""USER MANAGEMENT"""
ACCOUNT_ACTIVATION_DAYS = 7 # One-week activation window
REGISTRATION_OPEN = True
REGISTRATION_SALT = "notfellchen"
""" SECURITY.TXT """
SEC_CONTACT = config.get("security", "Contact", fallback="julian-samuel@gebuehr.net")