aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/src/meshbay_hub/static/auth-page.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-hub/src/meshbay_hub/static/auth-page.js')
-rw-r--r--packages/meshbay-hub/src/meshbay_hub/static/auth-page.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/auth-page.js b/packages/meshbay-hub/src/meshbay_hub/static/auth-page.js
index 57db475..e014f61 100644
--- a/packages/meshbay-hub/src/meshbay_hub/static/auth-page.js
+++ b/packages/meshbay-hub/src/meshbay_hub/static/auth-page.js
@@ -571,6 +571,11 @@ export function RegisterPage() {
`;
}
+ // The legal line under the button is a notice, not a checkbox. The account
+ // is held under the terms (a contract) and the connection log under a legal
+ // obligation; neither rests on consent, and a box nobody may leave unticked
+ // would be asking for one that is not free (GDPR art. 7.4) and could not be
+ // withdrawn — the log is kept for its year whatever the person answers.
return html`
<${AuthShell}>
<div class="card login-card">
@@ -609,6 +614,10 @@ export function RegisterPage() {
<button type="submit" disabled=${loading || (captcha.enabled && !captcha.token)}>
${loading ? t('register.loading') : t('register.submit')}
</button>
+ <p class="register-legal">
+ ${t('register.legal_notice')}
+ <a href=${platform.legalUrl()} target="_blank" rel="noopener">${t('sidebar.legal')}</a>
+ </p>
</form>
<div class="login-footer">
${t('register.has_account')} <a href="#/login">${t('register.login_link')}</a>