Set ACCOUNT_EMAIL_SUBJECT_PREFIX (#6673)

- Copy value from EMAIL_SUBJECT_PREFIX
- Used for django-allauth
- Ref: https://github.com/inventree/InvenTree/discussions/6672
This commit is contained in:
Oliver 2024-03-12 13:37:20 +11:00 committed by GitHub
parent a613a7b9fc
commit 6920efb456
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1102,6 +1102,7 @@ ACCOUNT_DEFAULT_HTTP_PROTOCOL = get_setting(
) )
ACCOUNT_LOGOUT_ON_PASSWORD_CHANGE = True ACCOUNT_LOGOUT_ON_PASSWORD_CHANGE = True
ACCOUNT_PREVENT_ENUMERATION = True ACCOUNT_PREVENT_ENUMERATION = True
ACCOUNT_EMAIL_SUBJECT_PREFIX = EMAIL_SUBJECT_PREFIX
# 2FA # 2FA
REMOVE_SUCCESS_URL = 'settings' REMOVE_SUCCESS_URL = 'settings'