We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6db3dc7 commit 2f21bc3Copy full SHA for 2f21bc3
routers/user/oauth.go
@@ -259,7 +259,7 @@ func AuthorizeOAuth(ctx *context.Context, form auth.AuthorizationForm) {
259
ctx.Data["Application"] = app
260
ctx.Data["RedirectURI"] = form.RedirectURI
261
ctx.Data["State"] = form.State
262
- ctx.Data["ApplicationUserLink"] = "<a href=\"" + setting.LocalURL + app.User.LowerName + "\">@" + app.User.Name + "</a>"
+ ctx.Data["ApplicationUserLink"] = "<a href=\"" + setting.AppURL + app.User.LowerName + "\">@" + app.User.Name + "</a>"
263
ctx.Data["ApplicationRedirectDomainHTML"] = "<strong>" + form.RedirectURI + "</strong>"
264
// TODO document SESSION <=> FORM
265
ctx.Session.Set("client_id", app.ClientID)
0 commit comments