Skip to content

Commit fb51be5

Browse files
Merge branch 'develop' into about-fix
2 parents a008d24 + 755897e commit fb51be5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

server/controllers/user.controller.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ const random = (done) => {
3030
};
3131

3232
export function createUser(req, res, next) {
33-
const { username, email } = req.body;
34-
const { password } = req.body;
33+
const { username, email, password } = req.body;
3534
const emailLowerCase = email.toLowerCase();
3635
const EMAIL_VERIFY_TOKEN_EXPIRY_TIME = Date.now() + 3600000 * 24; // 24 hours
3736
random((tokenError, token) => {

0 commit comments

Comments
 (0)