diff options
author | Chocobozzz <me@florianbigard.com> | 2021-02-01 15:39:13 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-02-01 15:39:13 +0100 |
commit | 6d989edc66e7b541fcf97c2a4a6f91cbf960060a (patch) | |
tree | 9c72977cf05eee2b3a84dd1867ec60ef491b0900 /client/src/app/+admin/users/user-edit/user-edit.ts | |
parent | cb5c2abc99c2e222fe18621f79cb68b805678e15 (diff) | |
download | PeerTube-6d989edc66e7b541fcf97c2a4a6f91cbf960060a.tar.gz PeerTube-6d989edc66e7b541fcf97c2a4a6f91cbf960060a.tar.zst PeerTube-6d989edc66e7b541fcf97c2a4a6f91cbf960060a.zip |
Add ability to update plugin auth
Diffstat (limited to 'client/src/app/+admin/users/user-edit/user-edit.ts')
-rw-r--r-- | client/src/app/+admin/users/user-edit/user-edit.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/client/src/app/+admin/users/user-edit/user-edit.ts b/client/src/app/+admin/users/user-edit/user-edit.ts index 1613bb0d1..faa2f5ad8 100644 --- a/client/src/app/+admin/users/user-edit/user-edit.ts +++ b/client/src/app/+admin/users/user-edit/user-edit.ts | |||
@@ -42,6 +42,11 @@ export abstract class UserEdit extends FormReactive implements OnInit { | |||
42 | return forAccount + forChannels | 42 | return forAccount + forChannels |
43 | } | 43 | } |
44 | 44 | ||
45 | getAuthPlugins () { | ||
46 | return this.serverConfig.plugin.registeredIdAndPassAuths.map(p => p.npmName) | ||
47 | .concat(this.serverConfig.plugin.registeredExternalAuths.map(p => p.npmName)) | ||
48 | } | ||
49 | |||
45 | isInBigView () { | 50 | isInBigView () { |
46 | return this.screenService.getWindowInnerWidth() > 1600 | 51 | return this.screenService.getWindowInnerWidth() > 1600 |
47 | } | 52 | } |