diff --git a/core/auth.js b/core/auth.js
index 28859d4b..c725e6f3 100644
--- a/core/auth.js
+++ b/core/auth.js
@@ -211,6 +211,10 @@ function handler(request, response) {
contents += '\n';
contents += '\n';
contents += '\n';
+ contents += '
\n';
+ contents += '
Code of Conduct
\n';
+ contents += `
\n`;
+ contents += '
\n';
contents += '';
}
var text = html.replace("", contents);
diff --git a/core/core.js b/core/core.js
index 76d8a316..8a7e8918 100644
--- a/core/core.js
+++ b/core/core.js
@@ -17,6 +17,11 @@ const k_global_settings = {
default_value: true,
description: 'Whether this instance should behave as a room.',
},
+ code_of_conduct: {
+ type: 'textarea',
+ default_value: undefined,
+ description: 'Code of conduct presented at sign-in.',
+ },
};
var gGlobalSettings = {