Login Verification Code Email

The Login Verification Code email is used when multi-factor authentication is required at login and email is the selected delivery method. It sends the Account a randomly generated six-digit code that must be entered in the Site’s login-verification dialog.

The code expires 15 minutes after it is requested.

Configure the template

In Setup > Email Manager, edit Linkname SendLoginVerificationCode.

The default subject is

Account Verification Code.

Keep the code and its 15-minute validity period easy to identify. Do not add Account details that are unnecessary for authentication.

Replacement tags

This email supports the shared and Customer tags plus:

Tag Value
[EcommerceURL] Web address configured for the Site.
[Global] Global Message configured for the Site.
[LoginVerificationCode] Six-digit login verification code.

Email Parsing Functions can be used in the body.

Test the result

Verify the six-digit code, successful login within 15 minutes, rejection after expiration, and safe handling of repeated requests. Confirm the code is delivered only to the intended Account address.


This site uses Just the Docs, a documentation theme for Jekyll.