feat: update users via Ldap
This commit is contained in:
@@ -3,7 +3,6 @@ package main
|
||||
import (
|
||||
"log"
|
||||
|
||||
"git.phc.dm.unipi.it/phc/website"
|
||||
"git.phc.dm.unipi.it/phc/website/articles"
|
||||
"git.phc.dm.unipi.it/phc/website/auth"
|
||||
"git.phc.dm.unipi.it/phc/website/config"
|
||||
@@ -25,9 +24,10 @@ func main() {
|
||||
),
|
||||
NewsArticlesRegistry: articles.NewRegistry("./_content/news"),
|
||||
GuideArticlesRegistry: articles.NewRegistry("./_content/guide"),
|
||||
ListaUtenti: &website.JsonFileListaUtenti{
|
||||
Path: "./utenti-poisson-2022.local.json",
|
||||
},
|
||||
// ListaUtenti: &website.JsonFileListaUtenti{
|
||||
// Path: "./utenti-poisson-2022.local.json",
|
||||
// },
|
||||
ListaUtentiService: auth.NewLDAPAuthService(config.AuthServiceHost),
|
||||
Storia: &storia.JsonFileStoria{
|
||||
Path: "./storia.json",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user