|
|
@@ -751,6 +751,7 @@ func LinkAccount(ctx *context.Context) { |
|
|
|
ctx.Data["CaptchaType"] = setting.Service.CaptchaType |
|
|
|
ctx.Data["RecaptchaURL"] = setting.Service.RecaptchaURL |
|
|
|
ctx.Data["RecaptchaSitekey"] = setting.Service.RecaptchaSitekey |
|
|
|
ctx.Data["HcaptchaSitekey"] = setting.Service.HcaptchaSitekey |
|
|
|
ctx.Data["DisableRegistration"] = setting.Service.DisableRegistration |
|
|
|
ctx.Data["ShowRegistrationButton"] = false |
|
|
|
|
|
|
@@ -804,6 +805,7 @@ func LinkAccountPostSignIn(ctx *context.Context) { |
|
|
|
ctx.Data["Captcha"] = context.GetImageCaptcha() |
|
|
|
ctx.Data["CaptchaType"] = setting.Service.CaptchaType |
|
|
|
ctx.Data["RecaptchaSitekey"] = setting.Service.RecaptchaSitekey |
|
|
|
ctx.Data["HcaptchaSitekey"] = setting.Service.HcaptchaSitekey |
|
|
|
ctx.Data["DisableRegistration"] = setting.Service.DisableRegistration |
|
|
|
ctx.Data["ShowRegistrationButton"] = false |
|
|
|
|
|
|
@@ -890,6 +892,7 @@ func LinkAccountPostRegister(ctx *context.Context) { |
|
|
|
ctx.Data["Captcha"] = context.GetImageCaptcha() |
|
|
|
ctx.Data["CaptchaType"] = setting.Service.CaptchaType |
|
|
|
ctx.Data["RecaptchaSitekey"] = setting.Service.RecaptchaSitekey |
|
|
|
ctx.Data["HcaptchaSitekey"] = setting.Service.HcaptchaSitekey |
|
|
|
ctx.Data["DisableRegistration"] = setting.Service.DisableRegistration |
|
|
|
ctx.Data["ShowRegistrationButton"] = false |
|
|
|
|