File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -477,7 +477,7 @@ func AuthorizeOAuth(ctx *context.Context) {
477
477
ctx .Data ["State" ] = form .State
478
478
ctx .Data ["Scope" ] = form .Scope
479
479
ctx .Data ["Nonce" ] = form .Nonce
480
- ctx .Data ["ApplicationUserLink " ] = "<a href=\" " + html .EscapeString (user .HTMLURL ()) + "\" >@" + html .EscapeString (user .Name ) + "</a>"
480
+ ctx .Data ["ApplicationUserLinkHTML " ] = "<a href=\" " + html .EscapeString (user .HTMLURL ()) + "\" >@" + html .EscapeString (user .Name ) + "</a>"
481
481
ctx .Data ["ApplicationRedirectDomainHTML" ] = "<strong>" + html .EscapeString (form .RedirectURI ) + "</strong>"
482
482
// TODO document SESSION <=> FORM
483
483
err = ctx .Session .Set ("client_id" , app .ClientID )
Original file line number Diff line number Diff line change 9
9
{{template "base/alert" .}}
10
10
<p>
11
11
<b>{{.i18n.Tr "auth.authorize_application_description"}}</b><br/>
12
- {{.i18n.Tr "auth.authorize_application_created_by" (.ApplicationUserLink|Escape) | Str2html}}
12
+ {{.i18n.Tr "auth.authorize_application_created_by" .ApplicationUserLinkHTML | Str2html}}
13
13
</p>
14
14
</div>
15
15
<div class="ui attached segment">
16
- <p>{{.i18n.Tr "auth.authorize_redirect_notice" ( .ApplicationRedirectDomainHTML|Escape) | Str2html}}</p>
16
+ <p>{{.i18n.Tr "auth.authorize_redirect_notice" .ApplicationRedirectDomainHTML | Str2html}}</p>
17
17
</div>
18
18
<div class="ui attached segment">
19
19
<form method="post" action="{{AppSubUrl}}/login/oauth/grant">
You can’t perform that action at this time.
0 commit comments