Documentation

deactivate

\Bitrix\Security\Mfa\Otp public
\Bitrix\Security\Mfa\Otp::deactivate(
 integer $days
);

Non-static method deactivates OTP for user for a necessary number of days or permanently.

Parameters

ParameterDescriptionVersion
$daysNumber of days. Zero means deactivate permanently.

Exception

  • \Bitrix\Security\Mfa\OtpException

Example



© «Bitrix24», 2001-2024
Up