summaryrefslogtreecommitdiffstats
path: root/src/Common/Application.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Common/Application.cpp')
-rw-r--r--src/Common/Application.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Common/Application.cpp b/src/Common/Application.cpp
index 38ef4b5..196e57a 100644
--- a/src/Common/Application.cpp
+++ b/src/Common/Application.cpp
@@ -18,6 +18,7 @@
*/
#include "Application.h"
+#include "AuthManager.h"
#include "ModuleManager.h"
#include "RequestManager.h"
#include "SystemManager.h"
@@ -26,7 +27,7 @@
namespace Mad {
namespace Common {
-Application::Application(bool server) : moduleManager(new ModuleManager(this)), requestManager(new RequestManager(this, server)),
+Application::Application(bool server) : authManager(new AuthManager), moduleManager(new ModuleManager(this)), requestManager(new RequestManager(this, server)),
systemManager(new SystemManager), userManager(new UserManager(this)) {}
Application::~Application() {
@@ -34,6 +35,7 @@ Application::~Application() {
delete systemManager;
delete requestManager;
delete moduleManager;
+ delete authManager;
}
}