mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
#1458: Authorities were messed up when using mysql database
This commit is contained in:
@@ -39,8 +39,6 @@ func checkRunMode() {
|
||||
macaron.Env = macaron.PROD
|
||||
macaron.ColorLog = false
|
||||
setting.ProdMode = true
|
||||
case "test":
|
||||
macaron.Env = macaron.TEST
|
||||
}
|
||||
log.Info("Run Mode: %s", strings.Title(macaron.Env))
|
||||
}
|
||||
|
Reference in New Issue
Block a user