Fix local plugin auth select

pull/4048/head
Chocobozzz 2021-05-25 13:49:52 +02:00
parent fc8f15d202
commit d11eae7edc
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 2 additions and 0 deletions

View File

@ -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.`)