[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:
@@ -7,7 +7,7 @@ msgstr ""
|
|||||||
"Project-Id-Version: Odoo Server 17.0\n"
|
"Project-Id-Version: Odoo Server 17.0\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2023-10-26 21:55+0000\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"
|
"Last-Translator: \n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
@@ -64,7 +64,7 @@ msgstr ""
|
|||||||
#. module: google_recaptcha
|
#. module: google_recaptcha
|
||||||
#: model:ir.model.fields,help:google_recaptcha.field_res_config_settings__recaptcha_min_score
|
#: model:ir.model.fields,help:google_recaptcha.field_res_config_settings__recaptcha_min_score
|
||||||
msgid ""
|
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"
|
"1.0 is very likely a good interaction, 0.0 is very likely a bot"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|||||||
@@ -12,6 +12,6 @@ class ResConfigSettings(models.TransientModel):
|
|||||||
"Minimum score",
|
"Minimum score",
|
||||||
config_parameter='recaptcha_min_score',
|
config_parameter='recaptcha_min_score',
|
||||||
groups='base.group_system',
|
groups='base.group_system',
|
||||||
default="0.5",
|
default="0.7",
|
||||||
help="Should be between 0.0 and 1.0.\n1.0 is very likely a good interaction, 0.0 is very likely a bot"
|
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"
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user