Skip to content

Commit 87fc577

Browse files
committed
add fixme
1 parent b196930 commit 87fc577

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

routers/web/auth/linkaccount.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ var tplLinkAccount templates.TplName = "user/auth/link_account"
2929

3030
// LinkAccount shows the page where the user can decide to login or create a new account
3131
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.
3233
ctx.Data["DisablePassword"] = !setting.Service.RequireExternalRegistrationPassword || setting.Service.AllowOnlyExternalRegistration
3334
ctx.Data["Title"] = ctx.Tr("link_account")
3435
ctx.Data["LinkAccountMode"] = true

0 commit comments

Comments
 (0)