v1.6.2
This commit is contained in:
parent
1f7343cd9d
commit
3e4433cd13
1 changed files with 1720 additions and 441 deletions
|
|
@ -8,6 +8,7 @@
|
|||
namespace Robotstxt\TwoFA;
|
||||
|
||||
use Robotstxt\TwoFA\Admin\Dashboard_Page;
|
||||
use Robotstxt\TwoFA\Admin\Manager_Notice;
|
||||
use Robotstxt\TwoFA\Admin\Migration_Page;
|
||||
use Robotstxt\TwoFA\Admin\Settings_Page;
|
||||
use Robotstxt\TwoFA\Cli\Cli_Command;
|
||||
|
|
@ -134,6 +135,13 @@ class Plugin {
|
|||
*/
|
||||
private Migration_Page $migration_page;
|
||||
|
||||
/**
|
||||
* Manager plugin dependency notice.
|
||||
*
|
||||
* @var Manager_Notice
|
||||
*/
|
||||
private Manager_Notice $manager_notice;
|
||||
|
||||
/**
|
||||
* REST API controller.
|
||||
*
|
||||
|
|
@ -174,6 +182,7 @@ class Plugin {
|
|||
$this->geoip_updater = new GeoIP_Updater( $config );
|
||||
$this->dashboard_page = new Dashboard_Page( $this->attempts_log, $config, $repository );
|
||||
$this->migration_page = new Migration_Page();
|
||||
$this->manager_notice = new Manager_Notice();
|
||||
$this->rest_controller = new Rest_Controller();
|
||||
}
|
||||
|
||||
|
|
@ -191,6 +200,7 @@ class Plugin {
|
|||
$this->geoip_updater->register_hooks();
|
||||
$this->dashboard_page->register_hooks();
|
||||
$this->migration_page->register_hooks();
|
||||
$this->manager_notice->register_hooks();
|
||||
$this->rest_controller->register_hooks();
|
||||
$this->login_manager->register_hooks();
|
||||
$this->profile_settings->register_hooks();
|
||||
|
|
|
|||
Loading…
Reference in a new issue