feat(admin): Anmeldehinweise der Willkommensmail in der Vorlage bearbeitbar
Neue Felder loginHintDirectory/loginHintLocal (Platzhalter, Pflicht, max. 1000), Migration 20260930170000 (nullable, leer = Standard aus @tessera/shared). Knopf Passwort festlegen und Gueltigkeitshinweis bleiben fest; local-no-link wird nie erzeugt und bleibt fest. Vorschau springt beim Bearbeiten auf die passende Kontoart. Lokal im Browser nachgewiesen. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -56,12 +56,14 @@ async function request<T>(path: string, init: RequestInit = {}): Promise<T> {
|
||||
return (await res.json()) as T;
|
||||
}
|
||||
|
||||
/** Nur die vier Texte senden — nie weitere Felder aus dem Formularzustand. */
|
||||
/** Nur die sechs Texte senden — nie weitere Felder aus dem Formularzustand. */
|
||||
function textsOf(texts: WelcomeMailTexts): WelcomeMailTexts {
|
||||
return {
|
||||
subject: texts.subject,
|
||||
heading: texts.heading,
|
||||
intro: texts.intro,
|
||||
loginHintDirectory: texts.loginHintDirectory,
|
||||
loginHintLocal: texts.loginHintLocal,
|
||||
closing: texts.closing,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user