summaryrefslogtreecommitdiffstats
path: root/templates/mail/auth/reset_passwd.tmpl
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2022-08-31 17:58:54 +0200
committerGitHub <noreply@github.com>2022-08-31 23:58:54 +0800
commit647b2649b1600107c5fec3505db691f78b2c1e2a (patch)
treeb3bcaf968426f6ad1ba4fde3e41f3ca3224ec47e /templates/mail/auth/reset_passwd.tmpl
parentc80ca94ab1de8ea3b13c1087cd7140165a11ceb7 (diff)
downloadgitea-647b2649b1600107c5fec3505db691f78b2c1e2a.tar.gz
gitea-647b2649b1600107c5fec3505db691f78b2c1e2a.zip
Make sure fmt catches all templates (#20979)
* Make sure fmt catches all templates Make's `wildcard` is not recursive so it missed many template files, fix that by using `find`. * Update Makefile
Diffstat (limited to 'templates/mail/auth/reset_passwd.tmpl')
-rw-r--r--templates/mail/auth/reset_passwd.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/mail/auth/reset_passwd.tmpl b/templates/mail/auth/reset_passwd.tmpl
index a013ebd7a6..6a3625ab78 100644
--- a/templates/mail/auth/reset_passwd.tmpl
+++ b/templates/mail/auth/reset_passwd.tmpl
@@ -6,7 +6,7 @@
<title>{{.locale.Tr "mail.reset_password.title" (.DisplayName|DotEscape)}}</title>
</head>
-{{ $recover_url := printf "%suser/recover_account?code=%s" AppUrl (QueryEscape .Code)}}
+{{$recover_url := printf "%suser/recover_account?code=%s" AppUrl (QueryEscape .Code)}}
<body>
<p>{{.locale.Tr "mail.hi_user_x" (.DisplayName|DotEscape) | Str2html}}</p><br>
<p>{{.locale.Tr "mail.reset_password.text" .ResetPwdCodeLives | Str2html}}</p><p><a href="{{$recover_url}}">{{$recover_url}}</a></p><br>