Merge remote-tracking branch 'upstream/master' into 1fa-channels-email-sms

This commit is contained in:
Antonio Cordeddu
2022-08-10 11:35:38 +02:00
40 changed files with 321 additions and 570 deletions

View File

@ -81,6 +81,10 @@ class Module extends BaseModule
* @var bool whether to enable two factor authentication or not
*/
public $enableTwoFactorAuthentication = false;
/**
* @var array list of permissions for which two factor authentication is mandatory
*/
public $twoFactorAuthenticationForcedPermissions = [];
/**
* @var array list of channels for two factor authentication availables
*/