Documentation

setSkipMandatoryDays

void public static
\Bitrix\Security\Mfa\Otp::setSkipMandatoryDays(
 integer $days = 2
);

Static method defines the period (in days) for setting mandatory OTP.

Parameters

ParameterDescriptionVersion
$daysNumber of days within a period. "0" means immediately (or on the next user authorization).

Example



© «Bitrix24», 2001-2024
Up