feat: implement automatic synchronization for ldap users (#371)

Signed-off-by: Товарищ программист <2962928213@qq.com>
This commit is contained in:
Товарищ программист
2021-12-15 17:45:11 +08:00
committed by GitHub
parent 4ca5f4b196
commit f43d01c5c2
5 changed files with 157 additions and 6 deletions

View File

@ -32,6 +32,7 @@ func main() {
object.InitAdapter()
object.InitDb()
object.InitDefaultStorageProvider()
object.InitLdapAutoSynchronizer()
proxy.InitHttpClient()
authz.InitAuthz()
@ -73,7 +74,7 @@ func main() {
if err != nil {
panic(err)
}
logs.SetLevel(logs.LevelInformational)
//logs.SetLevel(logs.LevelInformational)
logs.SetLogFuncCall(false)
beego.Run()