diff options
Diffstat (limited to 'client/src/app/+admin/users/user-edit/user-update.component.ts')
-rw-r--r-- | client/src/app/+admin/users/user-edit/user-update.component.ts | 4 |
1 files changed, 3 insertions, 1 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 e16f66a2b..281c3dcef 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 | |||
@@ -53,7 +53,8 @@ export class UserUpdateComponent extends UserEdit implements OnInit, OnDestroy { | |||
53 | role: USER_ROLE_VALIDATOR, | 53 | role: USER_ROLE_VALIDATOR, |
54 | videoQuota: USER_VIDEO_QUOTA_VALIDATOR, | 54 | videoQuota: USER_VIDEO_QUOTA_VALIDATOR, |
55 | videoQuotaDaily: USER_VIDEO_QUOTA_DAILY_VALIDATOR, | 55 | videoQuotaDaily: USER_VIDEO_QUOTA_DAILY_VALIDATOR, |
56 | byPassAutoBlock: null | 56 | byPassAutoBlock: null, |
57 | pluginAuth: null | ||
57 | }, defaultValues) | 58 | }, defaultValues) |
58 | 59 | ||
59 | this.paramsSub = this.route.params.subscribe(routeParams => { | 60 | this.paramsSub = this.route.params.subscribe(routeParams => { |
@@ -120,6 +121,7 @@ export class UserUpdateComponent extends UserEdit implements OnInit, OnDestroy { | |||
120 | role: userJson.role.toString(), | 121 | role: userJson.role.toString(), |
121 | videoQuota: userJson.videoQuota, | 122 | videoQuota: userJson.videoQuota, |
122 | videoQuotaDaily: userJson.videoQuotaDaily, | 123 | videoQuotaDaily: userJson.videoQuotaDaily, |
124 | pluginAuth: userJson.pluginAuth, | ||
123 | byPassAutoBlock: userJson.adminFlags & UserAdminFlag.BYPASS_VIDEO_AUTO_BLACKLIST | 125 | byPassAutoBlock: userJson.adminFlags & UserAdminFlag.BYPASS_VIDEO_AUTO_BLACKLIST |
124 | }) | 126 | }) |
125 | } | 127 | } |