Recaptcha fix
tt-app/app/Saga There was a failure building this commit

This commit is contained in:
2019-10-14 17:04:31 +02:00
parent b2affbd87b
commit cc02119938
3 changed files with 7 additions and 2 deletions
+3
View File
@@ -45,6 +45,9 @@ module.exports = withPlugins(
adListDefaultUrl: '/static/images/default/default_picture_company.svg',
cachedMediaUrl: '/media/cache/profile_thumb/uploads/img/',
postedContentUrl: '/uploads/img/',
ReCAPTCHA: {
"siteKey": "6LcCvHcUAAAAAEw2gBZkoJcVvsNp1IgU4MnrIaRI"
},
}
}]
],
+1 -1
View File
@@ -17,7 +17,7 @@
<lastmod>2019-10-11</lastmod>
</url>,<url>
<loc>https://app.talentstube.com/Login</loc>
<lastmod>2019-10-11</lastmod>
<lastmod>2019-10-14</lastmod>
</url>,<url>
<loc>https://app.talentstube.com/MentionsLegales</loc>
<lastmod>2019-09-17</lastmod>
+3 -1
View File
@@ -22,6 +22,8 @@ import SocialButtonsAuth from '../components/atoms/SocialButtonsAuth';
import jssPluginPropsSort from 'jss-plugin-props-sort';
import Head from 'next/head'
import ReCAPTCHA from "react-google-recaptcha";
import getConfig from 'next/config'
const {publicRuntimeConfig} = getConfig()
function TabContainer({ children, dir }) {
return (
@@ -300,7 +302,7 @@ class LoginPage extends React.Component {
<ReCAPTCHA
id="component-outlined"
ref={recaptchaRef}
sitekey={process.env.RECAPTCHA_APP_SITE}
sitekey={publicRuntimeConfig.ReCAPTCHA.siteKey}
size="invisible"
/>
<Typography