Auth testing
This commit is contained in:
+4
-1
@@ -26,7 +26,7 @@ use crate::{
|
||||
cli, logger,
|
||||
plugin::{Plugin, loader::PluginLoader, types::LoaderMessage},
|
||||
types,
|
||||
utils::{self, client::Client},
|
||||
utils::{self, auth, client::Client},
|
||||
};
|
||||
|
||||
#[derive(serde::Serialize, serde::Deserialize)]
|
||||
@@ -107,6 +107,9 @@ impl Server {
|
||||
// Initialize plugins
|
||||
Self::LOGGER.info("Initializing plugins");
|
||||
|
||||
Self::LOGGER.info("Authenticating");
|
||||
auth::test(self)?;
|
||||
|
||||
// Initialize CLI
|
||||
Self::LOGGER.info("Initializing CLI");
|
||||
cli::start_cli(self.clone(), plugin_loader);
|
||||
|
||||
Reference in New Issue
Block a user