summaryrefslogtreecommitdiffstats
path: root/routers/init.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/init.go')
-rw-r--r--routers/init.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/init.go b/routers/init.go
index 0da510cc59..015b61a08e 100644
--- a/routers/init.go
+++ b/routers/init.go
@@ -136,7 +136,7 @@ func InitWebInstalled(ctx context.Context) {
mustInitCtx(ctx, common.InitDBEngine)
log.Info("ORM engine initialization successful!")
mustInit(system.Init)
- mustInit(oauth2.Init)
+ mustInitCtx(ctx, oauth2.Init)
mustInitCtx(ctx, models.Init)
mustInitCtx(ctx, authmodel.Init)