diff options
Diffstat (limited to 'tpls.go')
-rw-r--r-- | tpls.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 { |