fix: privacy in sign up

- allow no mail registration after dismissing marning banner
- defaultly hide password characters

Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
This commit is contained in:
TheOneWithTheBraid 2022-05-21 12:08:52 +02:00
parent aa4b19a828
commit 487b3da979
4 changed files with 12 additions and 9 deletions

View File

@ -896,7 +896,7 @@
"type": "text", "type": "text",
"placeholders": {} "placeholders": {}
}, },
"enterAnEmailAddress": "Gib eine E-Mail-Adresse ein", "enterAnEmailAddress": "E-Mail-Adresse (nicht erforderlich)",
"@enterAnEmailAddress": { "@enterAnEmailAddress": {
"type": "text", "type": "text",
"placeholders": {} "placeholders": {}

View File

@ -955,11 +955,13 @@
"type": "text", "type": "text",
"placeholders": {} "placeholders": {}
}, },
"enterAnEmailAddress": "Enter an email address", "enterAnEmailAddress": "Email address (not mandatory)",
"@enterAnEmailAddress": { "@enterAnEmailAddress": {
"type": "text", "type": "text",
"placeholders": {} "placeholders": {}
}, },
"emailContinueAnyway": "Continue anyway",
"emailEmptyWarning": "Warning: Even though adding a mail address leaks sensitive personal data, you have no way to recover your password without it.",
"enterASpacepName": "Enter a space name", "enterASpacepName": "Enter a space name",
"@enterASpacepName": {}, "@enterASpacepName": {},
"enterAUsername": "Enter a username", "enterAUsername": "Enter a username",

View File

@ -910,7 +910,7 @@
"type": "text", "type": "text",
"placeholders": {} "placeholders": {}
}, },
"enterAnEmailAddress": "Saisissez une adresse de courriel", "enterAnEmailAddress": "Adresse de courriel (ne pas mandatoire)",
"@enterAnEmailAddress": { "@enterAnEmailAddress": {
"type": "text", "type": "text",
"placeholders": {} "placeholders": {}

View File

@ -93,7 +93,8 @@ class SignupPageView extends StatelessWidget {
color: Colors.black, color: Colors.black,
), ),
hintText: L10n.of(context)!.enterAnEmailAddress, hintText: L10n.of(context)!.enterAnEmailAddress,
errorText: controller.error), errorText: controller.error,
),
), ),
), ),
Hero( Hero(