summaryrefslogtreecommitdiff
path: root/src/containers/auth/Login.js
diff options
context:
space:
mode:
authorGeorgios Andreadis <g.andreadis@student.tudelft.nl>2017-09-22 20:31:26 +0200
committerGeorgios Andreadis <g.andreadis@student.tudelft.nl>2017-09-23 10:06:16 +0200
commit320ca19c49c4ddbedbd95ffdd481994892f263ff (patch)
tree12e8623f2eb58100355a7d55b1abb20f864db542 /src/containers/auth/Login.js
parentfaa60f80e9f5ec22a2576e477714e2c2cd56054f (diff)
Use env variables for logging and oauth control
Diffstat (limited to 'src/containers/auth/Login.js')
-rw-r--r--src/containers/auth/Login.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/containers/auth/Login.js b/src/containers/auth/Login.js
index be4b07ee..4b008da4 100644
--- a/src/containers/auth/Login.js
+++ b/src/containers/auth/Login.js
@@ -28,7 +28,7 @@ class LoginContainer extends React.Component {
return (
<GoogleLogin
- clientId="311799954046-jv2inpg9nu7m0avcg6gulvkuvfgbtgb4.apps.googleusercontent.com"
+ clientId={process.env.REACT_APP_OAUTH_CLIENT_ID}
onSuccess={this.onAuthResponse.bind(this)}
onFailure={this.onAuthResponse.bind(this)}
className="login btn btn-primary"