diff --git a/src/views/Settings.js b/src/views/Settings.js
index 61ce9df..2ee5ae4 100644
--- a/src/views/Settings.js
+++ b/src/views/Settings.js
@@ -175,6 +175,18 @@ const configValues = {
return null;
},
},
+ 'tls.email': {
+ tab: 'network',
+ set: (config, value) => {
+ config.tls.email = value;
+ },
+ unset: (config) => {
+ delete config.tls.email;
+ },
+ validate: (config) => {
+ return null;
+ },
+ },
'api.auth.enable': {
tab: 'auth',
set: (config, value) => {
@@ -1447,6 +1459,22 @@ export default function Settings(props) {
Let's Encrypt requires one or more public domain names and an accessible port 80/TCP.
+
+ Email}
+ env={env('tls.email')}
+ disabled={env('tls.email') || !config.tls.auto}
+ value={config.tls.email}
+ onChange={handleChange('tls.email')}
+ />
+
+
+
+ Please enter your email address to signify agreement with the Let's Encrypt CA's terms of service and to be notified
+ in case of issues.
+
+
+