@@ -40,6 +40,8 @@ func LinkAccount(ctx *context.Context) {
4040 ctx .Data ["RecaptchaURL" ] = setting .Service .RecaptchaURL
4141 ctx .Data ["RecaptchaSitekey" ] = setting .Service .RecaptchaSitekey
4242 ctx .Data ["HcaptchaSitekey" ] = setting .Service .HcaptchaSitekey
43+ ctx .Data ["McaptchaSitekey" ] = setting .Service .McaptchaSitekey
44+ ctx .Data ["McaptchaURL" ] = setting .Service .McaptchaURL
4345 ctx .Data ["DisableRegistration" ] = setting .Service .DisableRegistration
4446 ctx .Data ["AllowOnlyInternalRegistration" ] = setting .Service .AllowOnlyInternalRegistration
4547 ctx .Data ["ShowRegistrationButton" ] = false
@@ -96,6 +98,8 @@ func LinkAccountPostSignIn(ctx *context.Context) {
9698 ctx .Data ["CaptchaType" ] = setting .Service .CaptchaType
9799 ctx .Data ["RecaptchaSitekey" ] = setting .Service .RecaptchaSitekey
98100 ctx .Data ["HcaptchaSitekey" ] = setting .Service .HcaptchaSitekey
101+ ctx .Data ["McaptchaSitekey" ] = setting .Service .McaptchaSitekey
102+ ctx .Data ["McaptchaURL" ] = setting .Service .McaptchaURL
99103 ctx .Data ["DisableRegistration" ] = setting .Service .DisableRegistration
100104 ctx .Data ["ShowRegistrationButton" ] = false
101105
@@ -195,6 +199,8 @@ func LinkAccountPostRegister(ctx *context.Context) {
195199 ctx .Data ["CaptchaType" ] = setting .Service .CaptchaType
196200 ctx .Data ["RecaptchaSitekey" ] = setting .Service .RecaptchaSitekey
197201 ctx .Data ["HcaptchaSitekey" ] = setting .Service .HcaptchaSitekey
202+ ctx .Data ["McaptchaSitekey" ] = setting .Service .McaptchaSitekey
203+ ctx .Data ["McaptchaURL" ] = setting .Service .McaptchaURL
198204 ctx .Data ["DisableRegistration" ] = setting .Service .DisableRegistration
199205 ctx .Data ["ShowRegistrationButton" ] = false
200206
0 commit comments