Documentation

regenerateCodes

boolean public static
\Bitrix\Security\Mfa\RecoveryCodesTable::regenerateCodes(
 integer $userId
);

Static method generates new recovery codes for specified user. Previous recovery codes will be deleted.

Parameters

ParameterDescriptionVersion
$userIdUser ID.

Exceptions

Example



© «Bitrix24», 2001-2024