-
Notifications
You must be signed in to change notification settings - Fork 69
Recaptcha initialization #191
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
Merged
Merged
Changes from 5 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
b769489
security-package: Update for reCaptcha.js - changes for include Googl…
engcom-Kilo a6b2e4c
security-package/1time-include-google-api-js-script: Fix static test.
engcom-Kilo 8504ef5
security-package: security-package: Update for reCaptcha.js - changes…
engcom-Kilo c244372
security-package/incorrect-language-of-recaptcha: Update for reCaptch…
engcom-Kilo 599c09d
security-package/incorrect-language-of-recaptcha: Update for reCaptch…
engcom-Kilo 2a64eee
recaptcha-initialization: Added service for inserting reCaptcha script.
engcom-Foxtrot 0f19528
Update ReCaptchaFrontendUi/view/frontend/web/js/reCaptcha.js
engcom-Foxtrot 8fa498a
Merge branch '1.0-develop' into recaptcha-initialization
naydav f3a4624
security-package/issues/21: reCaptcha is added multiple times to head
naydav 016459a
security-package/issues/21: reCaptcha is added multiple times to head
engcom-Foxtrot 3fb4275
security-package/issues/194: Static test fix.
engcom-Foxtrot 0c32aa7
security-package/issues/21: reCaptcha is added multiple times to head
naydav 2650ddc
security-package/issues/21: reCaptcha is added multiple times to head
naydav 0debaf5
security-package/issues/21: reCaptcha is added multiple times to head
naydav File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Could you rename variable to make it not too general?
Or maybe even better - just add variable inside this JS file and not leak it to window at all?
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.
@ihor-sviziev this variable should be global.
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.
Could you explain why?
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 like we can replace global variable on new shared service.
The
reCaptcha
component will have dependency (via "import" by path) on this shared service.Inside of the new service adding script tag will proceed only one time.
Thanks