Airlock 2FA letter generation task

Airlock 2FA activation letters are generated by the Airlock 2FA Activation Letter Task plugin in the task scheduler of the Service Container module.

  1. Go to:
    Service Container >> Services >> Task Scheduler Config >> Service
  2. If not yet present, add a schedule Task Schedule with Airlock 2FA Activation Letter Task. Configure the task as follow.
  3. Airlock 2FA Settings: Select the Airlock 2FA settings plugin (usually auto-selected from the MAIN SETTINGS).
  4. User Store: Select the user store (usually auto-selected from the MAIN SETTINGS).
  5. Renderer: Defines how activation letters are rendered. Configure a plugin to select the appropriate template for activation letters. Language-specific templates are supported.
  6. You can use the following placeholders in the templates for the Airlock 2FA activation letters:

  7. Placeholder

    Description

    ${User Context Data Name}

    Context data of the user

    ${activationQRCode}

    QR code image for the activation. The size of the image in the document can be adjusted:

    ${activationQRCode,imageSize,width in points,height in points}

    ${expires}

    Expiring date of the activation. You can use extended format for the placeholder, for example ${expires,date,short}

    ${activationCodeShort}

    Short 16-digit activation code as an additional option for the activation.

  8. Working Directory: Contains intermediary data.
  9. Output Directory: Contains the finished letters.
  10. Language Context Data Name: Select the context data item that holds the language of the user.
  11. Enrollment Validity [s]: duration during which the letter is valid.