Skip to content

Commit faf8d44

Browse files
committed
Set recaptcha token to right header in graphql mutation
1 parent e95528f commit faf8d44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/js/components/GraphqlMutation.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export default {
108108
let options = { headers: {} }
109109
110110
if (this.recaptcha) {
111-
options['headers']['Authorization'] = await this.getReCaptchaToken()
111+
options['headers']['X-Recaptcha'] = await this.getReCaptchaToken()
112112
}
113113
114114
if (this.store) {

0 commit comments

Comments
 (0)