diff --git a/src/config/hisite.php b/src/config/hisite.php index 7f43015..16dba18 100644 --- a/src/config/hisite.php +++ b/src/config/hisite.php @@ -22,6 +22,11 @@ 'user' => [ 'on beforeLogin' => [\hiqdev\yii2\mfa\Module::class, 'onBeforeLogin'], ], + 'themeManager' => [ + 'pathMap' => [ + '$themedViewPaths' => ['@hiqdev/yii2/mfa/views'], + ], + ], ], 'modules' => [ 'mfa' => [ diff --git a/src/mail/addAllowedIpToken-text.php b/src/views/mail/addAllowedIpToken-text.php similarity index 100% rename from src/mail/addAllowedIpToken-text.php rename to src/views/mail/addAllowedIpToken-text.php diff --git a/src/mail/addAllowedIpToken.php b/src/views/mail/addAllowedIpToken.php similarity index 100% rename from src/mail/addAllowedIpToken.php rename to src/views/mail/addAllowedIpToken.php