diff options
author | Chocobozzz <me@florianbigard.com> | 2021-10-14 11:35:43 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-10-14 11:35:43 +0200 |
commit | cf0c8ee588e37809d85ec1deec1e4fdfa0f122a5 (patch) | |
tree | 1692868027592d2a300988643fdd96e5fdfe2091 /shared/models/server/server-config.model.ts | |
parent | e1a570abff3ebf375433e58e7362d56bd32d4cd8 (diff) | |
download | PeerTube-cf0c8ee588e37809d85ec1deec1e4fdfa0f122a5.tar.gz PeerTube-cf0c8ee588e37809d85ec1deec1e4fdfa0f122a5.tar.zst PeerTube-cf0c8ee588e37809d85ec1deec1e4fdfa0f122a5.zip |
Fix admin edition disabling feature
Diffstat (limited to 'shared/models/server/server-config.model.ts')
-rw-r--r-- | shared/models/server/server-config.model.ts | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/shared/models/server/server-config.model.ts b/shared/models/server/server-config.model.ts index 4bd4b0cb4..5bbb61252 100644 --- a/shared/models/server/server-config.model.ts +++ b/shared/models/server/server-config.model.ts | |||
@@ -30,7 +30,6 @@ export interface RegisteredIdAndPassAuthConfig { | |||
30 | } | 30 | } |
31 | 31 | ||
32 | export interface ServerConfig { | 32 | export interface ServerConfig { |
33 | allowEdits: boolean | ||
34 | serverVersion: string | 33 | serverVersion: string |
35 | serverCommit?: string | 34 | serverCommit?: string |
36 | 35 | ||
@@ -42,6 +41,14 @@ export interface ServerConfig { | |||
42 | } | 41 | } |
43 | } | 42 | } |
44 | 43 | ||
44 | webadmin: { | ||
45 | configuration: { | ||
46 | edition: { | ||
47 | allowed: boolean | ||
48 | } | ||
49 | } | ||
50 | }, | ||
51 | |||
45 | instance: { | 52 | instance: { |
46 | name: string | 53 | name: string |
47 | shortDescription: string | 54 | shortDescription: string |