loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: show internal login prompt for account linking (#6920)

Fixes #6878.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6920
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: Matthias Riße <m.risse@fz-juelich.de>
Co-committed-by: Matthias Riße <m.risse@fz-juelich.de>

authored by

Matthias Riße
Matthias Riße
and committed by
Gusted
b1a7db7e c58d282f

+2
+2
routers/web/auth/linkaccount.go
··· 44 44 ctx.Data["DisableRegistration"] = setting.Service.DisableRegistration 45 45 ctx.Data["AllowOnlyInternalRegistration"] = setting.Service.AllowOnlyInternalRegistration 46 46 ctx.Data["ShowRegistrationButton"] = false 47 + ctx.Data["EnableInternalSignIn"] = true 47 48 48 49 // use this to set the right link into the signIn and signUp templates in the link_account template 49 50 ctx.Data["SignInLink"] = setting.AppSubURL + "/user/link_account_signin" ··· 122 123 ctx.Data["CfTurnstileSitekey"] = setting.Service.CfTurnstileSitekey 123 124 ctx.Data["DisableRegistration"] = setting.Service.DisableRegistration 124 125 ctx.Data["ShowRegistrationButton"] = false 126 + ctx.Data["EnableInternalSignIn"] = true 125 127 126 128 // use this to set the right link into the signIn and signUp templates in the link_account template 127 129 ctx.Data["SignInLink"] = setting.AppSubURL + "/user/link_account_signin"