From d11eae7edc1339e8e6791d63176613c6f283f995 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 25 May 2021 13:49:52 +0200 Subject: Fix local plugin auth select --- client/src/app/+admin/users/user-edit/user-update.component.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'client/src/app/+admin/users') 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 { userUpdate.videoQuota = parseInt(this.form.value['videoQuota'], 10) userUpdate.videoQuotaDaily = parseInt(this.form.value['videoQuotaDaily'], 10) + if (userUpdate.pluginAuth === 'null') userUpdate.pluginAuth = null + this.userService.updateUser(this.user.id, userUpdate).subscribe( () => { this.notifier.success($localize`User ${this.user.username} updated.`) -- cgit v1.2.3