[FIX] google_recaptcha: update recaptcha score

The reCaptcha score was set by default on 0.5. According to [Google's
documentation], that score isn't valid by default. It should be one of
0.1, 0.3, 0.7, 0.9. To use other values you must first go through a
security review from reCaptcha.

[Google's documentation]: https://cloud.google.com/recaptcha-enterprise/docs/interpret-assessment-website#before_you_begin

task-3585213

closes odoo/odoo#152073

X-original-commit: 6f18069c71fc09fc624df03243bccedf0dbf96e5
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
Signed-off-by: Robin Lejeune (role) <role@odoo.com>
This commit is contained in:
Robin Lejeune (role)
2024-02-01 07:06:56 +00:00
parent 457686ceae
commit 1e94c7f0cd
2 changed files with 4 additions and 4 deletions
@@ -7,7 +7,7 @@ msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-26 21:55+0000\n"
"PO-Revision-Date: 2023-10-26 21:55+0000\n"
"PO-Revision-Date: 2024-01-31 14:44+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@@ -64,7 +64,7 @@ msgstr ""
#. module: google_recaptcha
#: model:ir.model.fields,help:google_recaptcha.field_res_config_settings__recaptcha_min_score
msgid ""
"Should be between 0.0 and 1.0.\n"
"By default, should be one of 0.1, 0.3, 0.7, 0.9.\n"
"1.0 is very likely a good interaction, 0.0 is very likely a bot"
msgstr ""
@@ -12,6 +12,6 @@ class ResConfigSettings(models.TransientModel):
"Minimum score",
config_parameter='recaptcha_min_score',
groups='base.group_system',
default="0.5",
help="Should be between 0.0 and 1.0.\n1.0 is very likely a good interaction, 0.0 is very likely a bot"
default="0.7",
help="By default, should be one of 0.1, 0.3, 0.7, 0.9.\n1.0 is very likely a good interaction, 0.0 is very likely a bot"
)