• Модуль: security
  • Путь к файлу: ~/bitrix/modules/security/lib/mfa/otp.php
  • Класс: BitrixSecurityMfaOtp
  • Вызов: Otp::getSkipCookieValue
protected function getSkipCookieValue()
{
	// ToDo: must be tied to the ID of "computer" when it will appear in the main module
	$rememberMask = $this->getRememberIpMask();
	$userIp = $this->getContext()->getRequest()->getRemoteAddress();
	return md5(ip2long($rememberMask) & ip2long($userIp));
}