diff --git a/server/controllers/user.controller.js b/server/controllers/user.controller.js index a8616652..c6de9d32 100644 --- a/server/controllers/user.controller.js +++ b/server/controllers/user.controller.js @@ -9,7 +9,6 @@ export function newUser(req, res) { } export function createUser(req, res, next) { - console.log("in create user"); const user = new User({ username: req.body.username, email: req.body.email, diff --git a/shared/containers/SignupView/SignupView.jsx b/shared/containers/SignupView/SignupView.jsx index 00018e9e..4c31fc1c 100644 --- a/shared/containers/SignupView/SignupView.jsx +++ b/shared/containers/SignupView/SignupView.jsx @@ -7,6 +7,7 @@ import SignupForm from '../../components/SignupForm/SignupForm' class SignupView extends React.Component { render() { + const {fields: { username, email, password, confirmPassword }, handleSubmit} = this.props; return ( )