summaryrefslogtreecommitdiffstats
path: root/cmd/admin.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/admin.go')
-rw-r--r--cmd/admin.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/admin.go b/cmd/admin.go
index f4782195e4..6985044243 100644
--- a/cmd/admin.go
+++ b/cmd/admin.go
@@ -74,6 +74,8 @@ func runCreateUser(c *cli.Context) error {
setting.NewContext()
models.LoadConfigs()
+
+ setting.NewXORMLogService(false)
if err := models.SetEngine(); err != nil {
return fmt.Errorf("models.SetEngine: %v", err)
}