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 b196930 commit 87fc577Copy full SHA for 87fc577
routers/web/auth/linkaccount.go
@@ -29,6 +29,7 @@ var tplLinkAccount templates.TplName = "user/auth/link_account"
29
30
// LinkAccount shows the page where the user can decide to login or create a new account
31
func LinkAccount(ctx *context.Context) {
32
+ // FIXME: these common template variables should be prepared in one common function, but not just copy-paste again and again.
33
ctx.Data["DisablePassword"] = !setting.Service.RequireExternalRegistrationPassword || setting.Service.AllowOnlyExternalRegistration
34
ctx.Data["Title"] = ctx.Tr("link_account")
35
ctx.Data["LinkAccountMode"] = true
0 commit comments