summaryrefslogtreecommitdiff
path: root/tpls.go
diff options
context:
space:
mode:
Diffstat (limited to 'tpls.go')
-rw-r--r--tpls.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/tpls.go b/tpls.go
index 846bdda..10f4322 100644
--- a/tpls.go
+++ b/tpls.go
@@ -19,6 +19,7 @@ func loadTpl(tplpath, name string) *template.Template {
var (
tplRegister *template.Template
tplMsg *template.Template
+ tplLogin *template.Template
)
func initTpls() {
@@ -29,6 +30,7 @@ func initTpls() {
tplRegister = loadTpl(tplpath, "register")
tplMsg = loadTpl(tplpath, "msg")
+ tplLogin = loadTpl(tplpath, "login")
}
type msgTpldata struct {