aboutsummaryrefslogtreecommitdiff
path: root/routes/install.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2018-04-12 09:55:58 -0400
committerUnknwon <u@gogs.io>2018-04-12 09:55:58 -0400
commitf2ecfdc96a338815ffb2be898b3114031f0da48c (patch)
tree68e98cdb346e8d57e7d1b25169b391dd7afc0037 /routes/install.go
parent717d409b7273f7874c38268e1b908596277dacac (diff)
auth: support authentication source config file (#3142)
Diffstat (limited to 'routes/install.go')
-rw-r--r--routes/install.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routes/install.go b/routes/install.go
index 29177936..4e8890f7 100644
--- a/routes/install.go
+++ b/routes/install.go
@@ -67,6 +67,7 @@ func GlobalInit() {
}
models.HasEngine = true
+ models.LoadAuthSources()
models.LoadRepoConfig()
models.NewRepoContext()