clearByUser
boolean public static \Bitrix\Security\Mfa\RecoveryCodesTable::clearByUser( integer $userId );
Static method deletes all saved recovery codes for specified users.
Parameters
Parameter | Description | Version |
---|---|---|
$userId | User ID. |
Exceptions
- ArgumentTypeException (
Bitrix\Main\ArgumentTypeException
) - ArgumentException (
Bitrix\Main\ArgumentException
)
Example
© «Bitrix24», 2001-2024