diff options
author | Chocobozzz <me@florianbigard.com> | 2018-12-05 15:10:45 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-12-05 15:10:45 +0100 |
commit | 3b3b18203fe73e499bf8b49b15369710df95993e (patch) | |
tree | 7f682442453bf126fb0acc20ada2593dcc2ae3ae /shared/models | |
parent | 56af5222c1ab3d6aaa76b1237bfa381ecc4878b1 (diff) | |
download | PeerTube-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')
-rw-r--r-- | shared/models/server/server-config.model.ts | 4 |
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, |