diff --git a/src/actions/fetch.js b/src/actions/fetch.js
index 7a291cb..a6cd5cf 100644
--- a/src/actions/fetch.js
+++ b/src/actions/fetch.js
@@ -251,10 +251,12 @@ export function requestLogin(nameoremail, password) {
);
}
-export function requestRegistration(name, email, password) {
+export function requestRegistration(name, email, password, captcha, captchaid) {
return makeAPIPOSTRequest(
'api/auth/register',
- { name, email, password },
+ {
+ name, email, password, captcha, captchaid,
+ },
);
}
diff --git a/src/components/Alert.jsx b/src/components/Alert.jsx
index ccf4959..41ff687 100644
--- a/src/components/Alert.jsx
+++ b/src/components/Alert.jsx
@@ -6,7 +6,7 @@
import React, { useState, useEffect, useCallback } from 'react';
import { useSelector, useDispatch } from 'react-redux';
-import Captcha from './Captcha';
+import GlobalCaptcha from './GlobalCaptcha';
import { closeAlert } from '../actions';
const Alert = () => {
@@ -55,7 +55,7 @@ const Alert = () => {
{(alertType === 'captcha')
- ?
+ ?
: (