From 8bb71f2e332726c207318e44b95e784f9740dc40 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 5 May 2020 09:44:53 +0200 Subject: Add auth plugin info in users list --- client/src/app/+admin/users/user-list/user-list.component.html | 7 +++++++ client/src/app/shared/users/user.model.ts | 4 ++++ 2 files changed, 11 insertions(+) (limited to 'client/src/app') diff --git a/client/src/app/+admin/users/user-list/user-list.component.html b/client/src/app/+admin/users/user-list/user-list.component.html index 8b71dae79..d9612cf9c 100644 --- a/client/src/app/+admin/users/user-list/user-list.component.html +++ b/client/src/app/+admin/users/user-list/user-list.component.html @@ -46,6 +46,7 @@ Email Video quota Role + Auth plugin Created @@ -97,7 +98,13 @@ {{ user.videoQuotaUsed }} / {{ user.videoQuota }} {{ user.roleLabel }} + + + {{ user.pluginAuth }} + + {{ user.createdAt }} + diff --git a/client/src/app/shared/users/user.model.ts b/client/src/app/shared/users/user.model.ts index 76c57d2fb..3f6743bef 100644 --- a/client/src/app/shared/users/user.model.ts +++ b/client/src/app/shared/users/user.model.ts @@ -69,6 +69,8 @@ export class User implements UserServerModel { noInstanceConfigWarningModal: boolean noWelcomeModal: boolean + pluginAuth: string | null + createdAt: Date constructor (hash: Partial) { @@ -112,6 +114,8 @@ export class User implements UserServerModel { this.createdAt = hash.createdAt + this.pluginAuth = hash.pluginAuth + if (hash.account !== undefined) { this.account = new Account(hash.account) } -- cgit v1.2.3