File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -141,6 +141,8 @@ func LinkAccountPostSignIn(ctx *context.Context) {
141141 ctx .Data ["McaptchaURL" ] = setting .Service .McaptchaURL
142142 ctx .Data ["CfTurnstileSitekey" ] = setting .Service .CfTurnstileSitekey
143143 ctx .Data ["DisableRegistration" ] = setting .Service .DisableRegistration
144+ ctx .Data ["AllowOnlyInternalRegistration" ] = setting .Service .AllowOnlyInternalRegistration
145+ ctx .Data ["EnablePasswordSignInForm" ] = setting .Service .EnablePasswordSignInForm
144146 ctx .Data ["ShowRegistrationButton" ] = false
145147
146148 // use this to set the right link into the signIn and signUp templates in the link_account template
@@ -229,6 +231,8 @@ func LinkAccountPostRegister(ctx *context.Context) {
229231 ctx .Data ["McaptchaURL" ] = setting .Service .McaptchaURL
230232 ctx .Data ["CfTurnstileSitekey" ] = setting .Service .CfTurnstileSitekey
231233 ctx .Data ["DisableRegistration" ] = setting .Service .DisableRegistration
234+ ctx .Data ["AllowOnlyInternalRegistration" ] = setting .Service .AllowOnlyInternalRegistration
235+ ctx .Data ["EnablePasswordSignInForm" ] = setting .Service .EnablePasswordSignInForm
232236 ctx .Data ["ShowRegistrationButton" ] = false
233237
234238 // use this to set the right link into the signIn and signUp templates in the link_account template
You can’t perform that action at this time.
0 commit comments