Verified Commit f37817e8 authored by Korko's avatar Korko
Browse files

Fix recaptcha on dearsanta/organizer page

parent 3e9c23a5
......@@ -454,6 +454,7 @@ __webpack_require__.r(__webpack_exports__);
/* harmony import */ var jquery__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(jquery__WEBPACK_IMPORTED_MODULE_16__);
/* harmony import */ var alertify_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! alertify.js */ "./node_modules/alertify.js/dist/js/alertify.js");
/* harmony import */ var alertify_js__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(alertify_js__WEBPACK_IMPORTED_MODULE_17__);
/* harmony import */ var vue_recaptcha__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! vue-recaptcha */ "./node_modules/vue-recaptcha/dist/vue-recaptcha.es.js");
 
 
 
......@@ -479,7 +480,11 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
 
 
 
/* harmony default export */ __webpack_exports__["default"] = ({
components: {
VueRecaptcha: vue_recaptcha__WEBPACK_IMPORTED_MODULE_18__["default"]
},
props: {
action: {
type: String,
......@@ -3,7 +3,12 @@
import $ from 'jquery';
import alertify from 'alertify.js';
import VueRecaptcha from 'vue-recaptcha';
export default {
components: {
VueRecaptcha
},
props: {
action: {
type: String,
......
@extends('templates/layout', isset($styles) ? ['styles' => $styles] : [])
@section('header')
@parent
<!-- config js -->
@javascript([
'api' => config('captcha.sitekey'),
])
@stop
@section('body')
<div id="form" v-cloak>
<component :is="state" v-if="state === 'Form'" :data="data">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment