Added disable user sign up feature

This commit is contained in:
Torkel Ödegaard
2015-01-29 15:46:54 +01:00
parent d95c5e6674
commit 04d03f73b3
9 changed files with 21 additions and 6 deletions
+2
View File
@@ -36,6 +36,8 @@ var CmdWeb = cli.Command{
}
func newMacaron() *macaron.Macaron {
macaron.Env = setting.Env
m := macaron.New()
m.Use(middleware.Logger())
m.Use(macaron.Recovery())