• Модуль: security
  • Путь к файлу: ~/bitrix/modules/security/lib/mfa/otp.php
  • Класс: BitrixSecurityMfaOtp
  • Вызов: Otp::getMaxLoginAttempts
protected function getMaxLoginAttempts()
{
	if (!$this->isActivated())
		return 0;

	return (int) $this->getPolicy()->getLoginAttempts();
}