Customisable Email Templates
Please refer to the guidelines to understand how templating with Shield Security works. This article assumes you have read and understood those guidelines.
Email: Two-Factor Authentication Code
Available from: 9.1
Template name: /email/lp_2fa_email_code.twig
Notes: When customising this template, it is important to retain the variable for the 2FA code so that the user will be able to use it. This code is within the following variable:
<span>{{ body.vars.code }}</span>
Learn how to customise 2FA email content (step-by-step example) here.