From fd160aaba719668fe50fd04907cc6284fe50f7e0 Mon Sep 17 00:00:00 2001 From: "C. Fuhrman" Date: Tue, 4 Mar 2025 14:47:44 -0500 Subject: [PATCH] order of init --- server/auth/auth-manager.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/auth/auth-manager.js b/server/auth/auth-manager.js index 96e75cf..bdcc4d7 100644 --- a/server/auth/auth-manager.js +++ b/server/auth/auth-manager.js @@ -14,8 +14,8 @@ class AuthManager{ this.configs = configs ?? (new AuthConfig()).loadConfig() this.addModules() - this.registerAuths() this.simpleregister = userModel; + this.registerAuths() } getUserModel(){ @@ -41,6 +41,7 @@ class AuthManager{ } async registerAuths(){ + console.log(``); for(const module of this.modules){ try{ module.registerAuth(this.app, this.simpleregister);