aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api/users.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/controllers/api/users.js')
-rw-r--r--server/controllers/api/users.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/controllers/api/users.js b/server/controllers/api/users.js
index 6cd0e84f7..324c99b4c 100644
--- a/server/controllers/api/users.js
+++ b/server/controllers/api/users.js
@@ -61,6 +61,7 @@ function createUser (req, res, next) {
61 const user = db.User.build({ 61 const user = db.User.build({
62 username: req.body.username, 62 username: req.body.username,
63 password: req.body.password, 63 password: req.body.password,
64 email: req.body.email,
64 role: constants.USER_ROLES.USER 65 role: constants.USER_ROLES.USER
65 }) 66 })
66 67