Compare commits

..

No commits in common. "7e9c78fd93ba8af7a7b5e2006ed9647403f556ef" and "1b06af0b7036209aeb328b323e4bc4faea382ee8" have entirely different histories.

View file

@ -14,8 +14,8 @@ class AuthManager{
this.configs = configs ?? (new AuthConfig()).loadConfig() this.configs = configs ?? (new AuthConfig()).loadConfig()
this.addModules() this.addModules()
this.simpleregister = userModel;
this.registerAuths() this.registerAuths()
this.simpleregister = userModel;
} }
getUserModel(){ getUserModel(){
@ -41,7 +41,6 @@ class AuthManager{
} }
async registerAuths(){ async registerAuths(){
console.log(``);
for(const module of this.modules){ for(const module of this.modules){
try{ try{
module.registerAuth(this.app, this.simpleregister); module.registerAuth(this.app, this.simpleregister);