refactor!: Move to custom user model

This commit is contained in:
2024-04-07 11:33:41 +02:00
parent 4a1332dd4a
commit 0d22ea0b65
5 changed files with 48 additions and 7 deletions

View File

@@ -77,6 +77,7 @@ else:
EMAIL_USE_SSL = config.getboolean('mail', 'ssl', fallback=False)
"""USER MANAGEMENT"""
AUTH_USER_MODEL = "fellchensammlung.User"
ACCOUNT_ACTIVATION_DAYS = 7 # One-week activation window
REGISTRATION_OPEN = True
REGISTRATION_SALT = "notfellchen"