diff options
Diffstat (limited to 'client/src/app/+admin/users')
-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.`) |