diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-02-18 09:29:59 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-02-18 09:29:59 +0100 |
commit | ad4a8a1cca1049f600ebcdce9260c1021cd821a5 (patch) | |
tree | ca8ffba899b024d56d1bd7846f61aecae0821c82 /client/src/app/+admin/users/shared | |
parent | 5d67f289df4a68e35ad7e0af3c601c7db0dc7586 (diff) | |
download | PeerTube-ad4a8a1cca1049f600ebcdce9260c1021cd821a5.tar.gz PeerTube-ad4a8a1cca1049f600ebcdce9260c1021cd821a5.tar.zst PeerTube-ad4a8a1cca1049f600ebcdce9260c1021cd821a5.zip |
Add email to users
Diffstat (limited to 'client/src/app/+admin/users/shared')
-rw-r--r-- | client/src/app/+admin/users/shared/user.service.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/app/+admin/users/shared/user.service.ts b/client/src/app/+admin/users/shared/user.service.ts index f6d360e09..a92f9c231 100644 --- a/client/src/app/+admin/users/shared/user.service.ts +++ b/client/src/app/+admin/users/shared/user.service.ts | |||
@@ -14,9 +14,10 @@ export class UserService { | |||
14 | private restExtractor: RestExtractor | 14 | private restExtractor: RestExtractor |
15 | ) {} | 15 | ) {} |
16 | 16 | ||
17 | addUser(username: string, password: string) { | 17 | addUser(username: string, password: string, email: string) { |
18 | const body = { | 18 | const body = { |
19 | username, | 19 | username, |
20 | email, | ||
20 | password | 21 | password |
21 | }; | 22 | }; |
22 | 23 | ||