mirror of
https://github.com/ets-cfuhrman-pfe/EvalueTonSavoir.git
synced 2025-08-11 21:23:54 -04:00
Compare commits
No commits in common. "7e9c78fd93ba8af7a7b5e2006ed9647403f556ef" and "1b06af0b7036209aeb328b323e4bc4faea382ee8" have entirely different histories.
7e9c78fd93
...
1b06af0b70
1 changed files with 1 additions and 2 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue