aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/server
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-12-05 15:10:45 +0100
committerChocobozzz <me@florianbigard.com>2018-12-05 15:10:45 +0100
commit3b3b18203fe73e499bf8b49b15369710df95993e (patch)
tree7f682442453bf126fb0acc20ada2593dcc2ae3ae /shared/models/server
parent56af5222c1ab3d6aaa76b1237bfa381ecc4878b1 (diff)
downloadPeerTube-3b3b18203fe73e499bf8b49b15369710df95993e.tar.gz
PeerTube-3b3b18203fe73e499bf8b49b15369710df95993e.tar.zst
PeerTube-3b3b18203fe73e499bf8b49b15369710df95993e.zip
Add error when email system is not configured and using the forgot
password system
Diffstat (limited to 'shared/models/server')
-rw-r--r--shared/models/server/server-config.model.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/shared/models/server/server-config.model.ts b/shared/models/server/server-config.model.ts
index 91196c1eb..a6d28e05e 100644
--- a/shared/models/server/server-config.model.ts
+++ b/shared/models/server/server-config.model.ts
@@ -15,6 +15,10 @@ export interface ServerConfig {
15 } 15 }
16 } 16 }
17 17
18 email: {
19 enabled: boolean
20 }
21
18 signup: { 22 signup: {
19 allowed: boolean, 23 allowed: boolean,
20 allowedForCurrentIP: boolean, 24 allowedForCurrentIP: boolean,