diff options
author | Chocobozzz <me@florianbigard.com> | 2021-05-25 13:50:11 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-05-25 13:50:11 +0200 |
commit | 1e4d2cb5aef11898585fae4053da4ebd0a69b480 (patch) | |
tree | d66899c8faff0c12e4e4117f4c40e37a952e6e67 | |
parent | 819b656439e5f0ec2ae5de9357502cdfe3196197 (diff) | |
parent | d11eae7edc1339e8e6791d63176613c6f283f995 (diff) | |
download | PeerTube-1e4d2cb5aef11898585fae4053da4ebd0a69b480.tar.gz PeerTube-1e4d2cb5aef11898585fae4053da4ebd0a69b480.tar.zst PeerTube-1e4d2cb5aef11898585fae4053da4ebd0a69b480.zip |
Merge branch 'release/3.2.0' into develop
-rw-r--r-- | client/src/app/+admin/users/user-edit/user-update.component.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/app/+admin/users/user-edit/user-update.component.ts b/client/src/app/+admin/users/user-edit/user-update.component.ts index 281c3dcef..1527508f7 100644 --- a/client/src/app/+admin/users/user-edit/user-update.component.ts +++ b/client/src/app/+admin/users/user-edit/user-update.component.ts | |||
@@ -81,6 +81,8 @@ export class UserUpdateComponent extends UserEdit implements OnInit, OnDestroy { | |||
81 | userUpdate.videoQuota = parseInt(this.form.value['videoQuota'], 10) | 81 | userUpdate.videoQuota = parseInt(this.form.value['videoQuota'], 10) |
82 | userUpdate.videoQuotaDaily = parseInt(this.form.value['videoQuotaDaily'], 10) | 82 | userUpdate.videoQuotaDaily = parseInt(this.form.value['videoQuotaDaily'], 10) |
83 | 83 | ||
84 | if (userUpdate.pluginAuth === 'null') userUpdate.pluginAuth = null | ||
85 | |||
84 | this.userService.updateUser(this.user.id, userUpdate).subscribe( | 86 | this.userService.updateUser(this.user.id, userUpdate).subscribe( |
85 | () => { | 87 | () => { |
86 | this.notifier.success($localize`User ${this.user.username} updated.`) | 88 | this.notifier.success($localize`User ${this.user.username} updated.`) |