-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
www-data
committed
Dec 17, 2019
1 parent
b2592b9
commit 90c8371
Showing
8 changed files
with
10,139 additions
and
14 deletions.
There are no files selected for viewing
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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"/captcha.min.js": "/captcha.min.js?id=298e069444a012efdc13" | ||
"/captcha.min.js": "/captcha.min.js?id=a6d0f6d9d5c794f7430d" | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,13 @@ | ||
<input type="hidden" name="_captcha" data-csrf="{{ csrf_token() }}" /><input type="hidden" name="{{ $random }}" /> | ||
@if(!defined('LOAD_HIDDEN_CAPTCHA')) | ||
<script src="{{ mix('captcha.min.js', '/assets/vendor/hidden-captcha') }}"></script> | ||
<script> | ||
if(document.getElementById('captcha-script') === null) { | ||
var s = document.createElement('script'); | ||
s.id = "captcha-script"; | ||
s.src = "{{ mix('captcha.min.js', '/assets/vendor/hidden-captcha') }}"; | ||
document.head.appendChild(s); | ||
} | ||
</script> | ||
@php(define('LOAD_HIDDEN_CAPTCHA', true)) | ||
@endif | ||
<script>if(typeof hiddenCaptcha !== 'undefined') { hiddenCaptcha() }</script> |
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