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:
parent
5d67f289df
commit
ad4a8a1cca
19 changed files with 164 additions and 12 deletions
|
@ -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
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue