diff options
author | Chocobozzz <me@florianbigard.com> | 2020-05-05 09:44:53 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-05-05 13:54:30 +0200 |
commit | 8bb71f2e332726c207318e44b95e784f9740dc40 (patch) | |
tree | ee4c271342efec2593f353fa875ea93add6403f5 /client/src/app/shared | |
parent | e5c86ba7c2fe5421b0d75943b03282e3f52de270 (diff) | |
download | PeerTube-8bb71f2e332726c207318e44b95e784f9740dc40.tar.gz PeerTube-8bb71f2e332726c207318e44b95e784f9740dc40.tar.zst PeerTube-8bb71f2e332726c207318e44b95e784f9740dc40.zip |
Add auth plugin info in users list
Diffstat (limited to 'client/src/app/shared')
-rw-r--r-- | client/src/app/shared/users/user.model.ts | 4 |
1 files changed, 4 insertions, 0 deletions
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 { | |||
69 | noInstanceConfigWarningModal: boolean | 69 | noInstanceConfigWarningModal: boolean |
70 | noWelcomeModal: boolean | 70 | noWelcomeModal: boolean |
71 | 71 | ||
72 | pluginAuth: string | null | ||
73 | |||
72 | createdAt: Date | 74 | createdAt: Date |
73 | 75 | ||
74 | constructor (hash: Partial<UserServerModel>) { | 76 | constructor (hash: Partial<UserServerModel>) { |
@@ -112,6 +114,8 @@ export class User implements UserServerModel { | |||
112 | 114 | ||
113 | this.createdAt = hash.createdAt | 115 | this.createdAt = hash.createdAt |
114 | 116 | ||
117 | this.pluginAuth = hash.pluginAuth | ||
118 | |||
115 | if (hash.account !== undefined) { | 119 | if (hash.account !== undefined) { |
116 | this.account = new Account(hash.account) | 120 | this.account = new Account(hash.account) |
117 | } | 121 | } |