summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2022-01-20 03:05:06 +0800
committerGitHub <noreply@github.com>2022-01-19 19:05:06 +0000
commit6fba17460600261f0450468ab3b048789a423703 (patch)
tree9c399abec8f32c5d789e129be13199b7d1fad2b9 /templates
parent531b6d60e1a05bb2584d1e81e6cd1ae42b57250b (diff)
downloadgitea-6fba17460600261f0450468ab3b048789a423703.tar.gz
gitea-6fba17460600261f0450468ab3b048789a423703.zip
Fix incorrect OAuth message (#18332)
As the title, Fix #18327
Diffstat (limited to 'templates')
-rw-r--r--templates/user/auth/grant.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/user/auth/grant.tmpl b/templates/user/auth/grant.tmpl
index 2f8dffb52e..0f072bcf13 100644
--- a/templates/user/auth/grant.tmpl
+++ b/templates/user/auth/grant.tmpl
@@ -9,11 +9,11 @@
{{template "base/alert" .}}
<p>
<b>{{.i18n.Tr "auth.authorize_application_description"}}</b><br/>
- {{.i18n.Tr "auth.authorize_application_created_by" (.ApplicationUserLink|Escape) | Str2html}}
+ {{.i18n.Tr "auth.authorize_application_created_by" .ApplicationUserLinkHTML | Str2html}}
</p>
</div>
<div class="ui attached segment">
- <p>{{.i18n.Tr "auth.authorize_redirect_notice" (.ApplicationRedirectDomainHTML|Escape) | Str2html}}</p>
+ <p>{{.i18n.Tr "auth.authorize_redirect_notice" .ApplicationRedirectDomainHTML | Str2html}}</p>
</div>
<div class="ui attached segment">
<form method="post" action="{{AppSubUrl}}/login/oauth/grant">