diff options
| author | Christophe Besson <cbesson@gmail.com> | 2026-10-15 14:33:03 +0200 |
|---|---|---|
| committer | Christophe Besson <cbesson@gmail.com> | 2026-10-15 14:33:03 +0200 |
| commit | 37b38e0eb15a79bbda3cd0a1b502669b32e773dc (patch) | |
| tree | 7c2b44576358b53ec6381312cca3b73b1f4506a0 /packages/meshbay-hub/src/meshbay_hub/static/auth-page.js | |
| parent | 28c77b7648b2a44a18be64ec44344d91cccfd742 (diff) | |
| download | meshbay-37b38e0eb15a79bbda3cd0a1b502669b32e773dc.tar.gz | |
fix(auth): the sign-up notice links the privacy statement, with a space
The link under the Register button was glued to the sentence before it: htm
drops whitespace that holds a line break, so "deleted.Legal information".
It also pointed at the hub's /legal/ index. Where an account is created is
where GDPR art. 13 owes the person the information about their data, so it
now links the privacy statement itself — /legal/confidentialite.fr.txt in
French, /legal/privacy-statement.en.txt in every other language — on the
hub that served the page, like every legal link. The sidebar's "Legal
information" is unchanged.
Checked in Chrome and Firefox (headless), in English and French.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.js | 7 |
1 files changed, 4 insertions, 3 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 4b8ed7c..af4fe95 100644 --- a/packages/meshbay-hub/src/meshbay_hub/static/auth-page.js +++ b/packages/meshbay-hub/src/meshbay_hub/static/auth-page.js @@ -1,7 +1,7 @@ import { html, useState, useEffect, useRef, useCallback, } from './vendor/htm-preact.js'; -import { t } from './i18n.js'; +import { t, getLocale } from './i18n.js'; import { hubFetch, navigate, session, HUB, loadAuth, _storeRecoveryKey, } from './hub-client.js'; @@ -612,8 +612,9 @@ export function RegisterPage() { ${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> + ${t('register.legal_notice')}${' '} + <a href=${platform.privacyUrl(getLocale())} target="_blank" + rel="noopener">${t('register.privacy_link')}</a> </p> </form> <div class="login-footer"> |