Documentation

setMandatoryUsing

void public static
\Bitrix\Security\Mfa\Otp::setMandatoryUsing(
 boolean $isMandatory = true
);

Static method method activates or deactivates OTP.

Parameters

ParameterDescriptionVersion
$isMandatoryActive or inactive.

Example



© «Bitrix24», 2001-2024
Up