From 5cad12470456fce715b9d94681d82bd46864d44c Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sat, 31 Oct 2015 19:10:44 -0400 Subject: fix #1697 --- templates/user/auth/activate.tmpl | 8 -------- templates/user/auth/forgot_passwd.tmpl | 4 ---- 2 files changed, 12 deletions(-) (limited to 'templates/user/auth') diff --git a/templates/user/auth/activate.tmpl b/templates/user/auth/activate.tmpl index caadc4f8..49419dcf 100644 --- a/templates/user/auth/activate.tmpl +++ b/templates/user/auth/activate.tmpl @@ -16,18 +16,10 @@
{{.i18n.Tr "auth.resent_limit_prompt"}}
{{else}}{{.i18n.Tr "auth.confirmation_mail_sent_prompt" .SignedUser.Email .Hours | Str2html}}
- - {{end}} {{else}} {{if .IsSendRegisterMail}}{{.i18n.Tr "auth.confirmation_mail_sent_prompt" .Email .Hours | Str2html}}
- - {{else if .IsActivateFailed}}{{.i18n.Tr "auth.invalid_code"}}
{{else}} diff --git a/templates/user/auth/forgot_passwd.tmpl b/templates/user/auth/forgot_passwd.tmpl index f8f23318..de141e67 100644 --- a/templates/user/auth/forgot_passwd.tmpl +++ b/templates/user/auth/forgot_passwd.tmpl @@ -11,10 +11,6 @@ {{template "base/alert" .}} {{if .IsResetSent}}{{.i18n.Tr "auth.confirmation_mail_sent_prompt" .Email .Hours | Str2html}}
- - {{else if .IsResetRequest}}