diff options
author | Chocobozzz <me@florianbigard.com> | 2021-05-25 13:49:52 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-05-25 13:49:52 +0200 |
commit | d11eae7edc1339e8e6791d63176613c6f283f995 (patch) | |
tree | c45fd747f80d229568b4e89059022baf2f8724b6 /client | |
parent | fc8f15d202e715667c5b726b4f3e7d252381c6d0 (diff) | |
download | PeerTube-d11eae7edc1339e8e6791d63176613c6f283f995.tar.gz PeerTube-d11eae7edc1339e8e6791d63176613c6f283f995.tar.zst PeerTube-d11eae7edc1339e8e6791d63176613c6f283f995.zip |
Fix local plugin auth select
Diffstat (limited to 'client')
-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.`) |