Skip to content

Commit

Permalink
[FIX] Rename import class
Browse files Browse the repository at this point in the history
  • Loading branch information
edescalona committed Dec 10, 2024
1 parent 965ce6a commit 34ab7a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website_recaptcha_v2_form/controllers/form.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from odoo.addons.website.controllers.form import WebsiteForm

from .main import BinhexHome
from .main import RecaptchaHome


class WebsiteRecaptchaForm(WebsiteForm):
Expand All @@ -20,7 +20,7 @@ class WebsiteRecaptchaForm(WebsiteForm):
)
def website_form(self, model_name, **kwargs):
if kwargs.get("recaptcha_enabled", False):
valid = BinhexHome.verify_recaptcha_v2(self, values=kwargs)
valid = RecaptchaHome.verify_recaptcha_v2(self, values=kwargs)
if not isinstance(valid, bool):
return json.dumps(
{
Expand Down

0 comments on commit 34ab7a1

Please sign in to comment.