Skip to content

Commit 69b3dd6

Browse files
authored
Escape Email in forgot_password.tmpl (#12610)
Signed-off-by: Andrew Thornton <[email protected]>
1 parent b611ae1 commit 69b3dd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/user/auth/forgot_passwd.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<div class="ui attached segment">
1111
{{template "base/alert" .}}
1212
{{if .IsResetSent}}
13-
<p>{{.i18n.Tr "auth.reset_password_mail_sent_prompt" .Email .ResetPwdCodeLives | Str2html}}</p>
13+
<p>{{.i18n.Tr "auth.reset_password_mail_sent_prompt" (Escape .Email) .ResetPwdCodeLives | Str2html}}</p>
1414
{{else if .IsResetRequest}}
1515
<div class="required inline field {{if .Err_Email}}error{{end}}">
1616
<label for="email">{{.i18n.Tr "email"}}</label>

0 commit comments

Comments
 (0)