StreetCode icon indicating copy to clipboard operation
StreetCode copied to clipboard

Feature/issue 2129

Open YaroslavRosnovskyi opened this issue 8 months ago • 2 comments

Summary of issue

Current version of recaptcha uses checkbox that enforces user to click it

Summary of change

Updated captcha to version 3 therefore it authomatically cheks if user is not a robot

Summary by CodeRabbit

  • New Features

    • Login endpoints now support an optional CAPTCHA flag, allowing flexible authentication without forcing CAPTCHA input.
    • Enhanced reCAPTCHA integration now conditionally validates based on user input, streamlining the sign-in and email processes.
  • Chores

    • Updated reCAPTCHA configuration keys for improved security in various environments.
  • Refactor

    • Adjusted internal CAPTCHA validation logic to execute only when enabled, ensuring a more controlled authentication flow.
    • Refactored email handling to use a dedicated CAPTCHA service, improving separation of concerns.

YaroslavRosnovskyi avatar Apr 03 '25 14:04 YaroslavRosnovskyi