#458 fix on sms 2fa management

This commit is contained in:
Antonio Cordeddu
2022-08-10 15:59:52 +02:00
parent 665466e543
commit 8b6c6282f9
31 changed files with 88 additions and 78 deletions

View File

@ -88,7 +88,7 @@ class Module extends BaseModule
/**
* @var array list of channels for two factor authentication availables
*/
public $twoFactorAuthenticationValidators = null;
public $twoFactorAuthenticationValidators = [];
/**
* @var int cycles of key generation are set on 30 sec. To avoid sync issues, increased validity up to 60 sec.
* @see http://2fa-library.readthedocs.io/en/latest/