summaryrefslogtreecommitdiffstats
path: root/routers/dev
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-05-01 06:55:39 -0400
committerUnknown <joe2010xtmf@163.com>2014-05-01 06:55:39 -0400
commit46af92c57e0d0d71f45d13d0b4bacb91ed2db16b (patch)
tree9c905631580b8cea4c7660518e975f5735a3a1f2 /routers/dev
parent00ebb5019f28447650d325719bc48bff1f443fef (diff)
downloadgitea-46af92c57e0d0d71f45d13d0b4bacb91ed2db16b.tar.gz
gitea-46af92c57e0d0d71f45d13d0b4bacb91ed2db16b.zip
Clean files
Diffstat (limited to 'routers/dev')
-rw-r--r--routers/dev/template.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/dev/template.go b/routers/dev/template.go
index 63d5d9a5bb..7145bf51fa 100644
--- a/routers/dev/template.go
+++ b/routers/dev/template.go
@@ -21,5 +21,6 @@ func TemplatePreview(ctx *middleware.Context, params martini.Params) {
ctx.Data["Code"] = "2014031910370000009fff6782aadb2162b4a997acb69d4400888e0b9274657374"
ctx.Data["ActiveCodeLives"] = base.Service.ActiveCodeLives / 60
ctx.Data["ResetPwdCodeLives"] = base.Service.ResetPwdCodeLives / 60
+ ctx.Data["CurDbValue"] = ""
ctx.HTML(200, params["_1"])
}