-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
security-package: Update for reCaptcha language code. Fixed incorrect language of reCaptcha #173
security-package: Update for reCaptcha language code. Fixed incorrect language of reCaptcha #173
Conversation
…a Frontend, all types, set param hl in call to render.
@@ -55,8 +55,7 @@ define( | |||
|
|||
element.async = true; | |||
element.src = 'https://www.google.com/recaptcha/api.js' + | |||
'?onload=globalOnRecaptchaOnLoadCallback&render=explicit' + | |||
(this.settings.rendering.lang ? '&hl=' + this.settings.rendering.lang : ''); | |||
'?onload=globalOnRecaptchaOnLoadCallback&render=explicit'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks lie we also need to update
https://github.com/magento/security-package/blob/1.0-develop/ReCaptchaUser/view/adminhtml/templates/recaptcha.phtml#L47
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated also for Admin panel
…a Admin panel, all types. Reformat code.
Please see #191. |
AC-13224: Sync 2.4.8-beta1-develop with 2.4-develop
Description (*)
Added hl(language code) param to call for render reCaptcha.
Before language was param of URL https://www.google.com/recaptcha/api.js
Fixed Issues (if relevant)
Fixed incorrect language of reCaptcha.
Manual testing scenarios (*)
Questions or comments
Contribution checklist (*)