Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Oryan 2 posts 72 karma points
    Jun 21, 2023 @ 08:43
    Oryan
    0

    Recaptcha v3 validation

    I've added in back office recaptchav3. in appsettings.json I've added the necessary keys and made sure they are configured to 'localhost'. I'm sending the token from the client side, the problem is on the server side. I'm receiving all the fields from the form in this function

    ' protected async override void OnFormHandled(Form form, FormViewModel model) { base.OnFormHandled(form, model); }'.

    if the recaptchav3 is present in the form, 'model.SubmitHandled' is true always. if the recaptcha v3 is present, 'model.SubmitHandled' is always false. what have I done wrong? Am I missing a step in the way?

Please Sign in or register to post replies

Write your reply to:

Draft