snapshot: preserve session hardening and account surface

This commit is contained in:
Md Bayazid Bostame
2026-03-27 01:11:29 +01:00
parent bbc9b7b646
commit 8d228723f9
29 changed files with 825 additions and 42 deletions

View File

@@ -29,6 +29,9 @@ from .forms import (
WORKSPACE_GROUP_CHOICES,
)
# These templates are the product-level defaults for fresh deployments.
# Runtime branding and company config can override the company-facing identity
# without changing the workflow/task logic itself.
DEFAULT_NOTIFICATION_TEMPLATES = {
'onboarding_it': {
@@ -158,27 +161,27 @@ DEFAULT_NOTIFICATION_TEMPLATES = {
),
},
'onboarding_welcome': {
'subject': 'Willkommen bei TUB/CO, {{ VORNAME }}',
'subject_en': 'Welcome to TUB/CO, {{ VORNAME }}',
'subject': 'Willkommen bei {{ COMPANY_NAME }}, {{ VORNAME }}',
'subject_en': 'Welcome to {{ COMPANY_NAME }}, {{ VORNAME }}',
'body': (
'Hallo {{ FULL_NAME }},\n\n'
'herzlich willkommen bei TUB/CO.\n'
'herzlich willkommen bei {{ COMPANY_NAME }}.\n'
'Wir freuen uns sehr, dass du ab dem {{ CONTRACT_START }} unser Team in der Abteilung {{ DEPARTMENT }} verstärkst.\n\n'
'Deine dienstliche E-Mail-Adresse lautet: {{ EMAIL }}.\n'
'Im Anhang findest du deine Onboarding-Unterlagen als PDF.\n\n'
'Wenn du Fragen hast, melde dich gerne jederzeit.\n\n'
'Viele Grüße\n'
'TUB/CO IT'
'{{ COMPANY_NAME }} IT'
),
'body_en': (
'Hello {{ FULL_NAME }},\n\n'
'welcome to TUB/CO.\n'
'welcome to {{ COMPANY_NAME }}.\n'
'We are very happy that you will join our {{ DEPARTMENT }} team starting on {{ CONTRACT_START }}.\n\n'
'Your work email address is: {{ EMAIL }}.\n'
'You will find your onboarding documents attached as a PDF.\n\n'
'If you have any questions, feel free to contact us anytime.\n\n'
'Best regards,\n'
'TUB/CO IT'
'{{ COMPANY_NAME }} IT'
),
},
'offboarding_it': {