Replace enabled checkbox with account mode select

Identities can now be set as primary (default), alias of an existing
separate account, or separate account. Alias records store parent_id
and skip server validation. Password sentinel changed to a safe string
that survives HTML form round-trips. Preconfig host composition fixed
to include security scheme.
This commit is contained in:
Laurent Dinclaux
2026-02-10 22:28:30 +11:00
parent 08797ab5a8
commit e4bd92ca63
9 changed files with 355 additions and 100 deletions

View File

@@ -12,8 +12,11 @@ $labels['form.preconfig_only_warning'] = 'La configuration de compte séparé n\
// General
$labels['form.common.general'] = 'Général';
// Enabled
$labels['form.common.enabled'] = 'Activer';
// Account mode
$labels['form.common.mode'] = 'Mode de compte';
$labels['form.common.mode.primary'] = 'Compte principal';
$labels['form.common.mode.separate'] = 'Compte séparé';
$labels['form.common.mode.hint'] = 'Rattachez cette identité à un compte existant, ou configurez-la comme un compte séparé avec son propre serveur de messagerie.';
// Label
$labels['form.common.label'] = 'Nom à afficher';