mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-28 13:08:45 +02:00
* N°7433 - Extension for MFA * Portal user profile brick * fix mfa tab display * Portal user profile brick * Portal user profile brick * mfa portal action * extensibility on portal to make mfa recovery mode work * Portal user profile brick extension * Portal user profile brick extension * display alert section in user portal profile layout * protect mfa via transaction_id mecanism * Fix transaction ids * Fix when no MFA * N°7433 - Allow MFA configuration in the portal (refactor interfaces) * N°7433 - Allow MFA configuration in the portal (revert unnecessary changes) * N°7433 - Allow MFA configuration in the portal (finer style) * N°7433 - Allow MFA configuration in the portal (PHPDoc update) * N°7433 - PR review --------- Co-authored-by: Eric Espie <eric.espie@combodo.com>
14 lines
599 B
Twig
14 lines
599 B
Twig
{# @copyright Copyright (C) 2010-2024 Combodo SAS #}
|
|
{# @license http://opensource.org/licenses/AGPL-3.0 #}
|
|
|
|
{% macro BlockExtension(aPluginFormData, sBlockName, oBrick) %}
|
|
{% for oPortalData in aPluginFormData %}
|
|
{% if (oPortalData is defined and oPortalData.GetBlockExtension(sBlockName)) %}
|
|
{% set oBlockExtension = oPortalData.GetBlockExtension(sBlockName) %}
|
|
{% set sTwig = oBlockExtension.GetTwig() %}
|
|
{% set aData = oBlockExtension.GetData() %}
|
|
{% include sTwig ignore missing %}
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% endmacro %}
|