1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 10:19:35 +02:00

Add email to users

This commit is contained in:
Chocobozzz 2017-02-18 09:29:59 +01:00
parent 5d67f289df
commit ad4a8a1cca
19 changed files with 164 additions and 12 deletions

View file

@ -61,6 +61,7 @@ function createUser (req, res, next) {
const user = db.User.build({
username: req.body.username,
password: req.body.password,
email: req.body.email,
role: constants.USER_ROLES.USER
})