Posted on 21/05/2026 12:15:04
Hi Imar,
The OneTimeCodeTemplate field is implemented and does exist in the paragraph editor — but the entire "One-time code authentication" group is hidden when the system-wide log-on type is set to Normal. You have to switch it first under Settings → Users → Authentication → Log-on type to One-time code (TOTP) (or MFA / Magic links). After that, reload the paragraph and the "Sender name / Sender email / Email subject / One-time code email template" fields appear under the "One-time code authentication" group.
See UserAuthenticationContentModuleAddIn.GetHiddenParameterNames — it hides all OneTimeCode* and MagicLink* parameters while AuthenticationManager.GetLoginType() == LoginType.Normal.
Agreed the discoverability here is poor — there's no hint in the paragraph editor that those fields exist but are gated, and SendOneTimeCodeEmail fails silently if the template is unset. I'll log it for a UX improvement (info text on the paragraph, and a warning when the template is missing at runtime). Also noticed the default email subject for one-time code is "Your log in link", which reads like the magic-link copy — will fix.
I have changed the app so it will always show these settings as single users can have this setup