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",
"placeholders": {}
},
"enterAnEmailAddress": "Gib eine E-Mail-Adresse ein",
"enterAnEmailAddress": "E-Mail-Adresse (nicht erforderlich)",
"@enterAnEmailAddress": {
"type": "text",
"placeholders": {}

View File

@ -955,11 +955,13 @@
"type": "text",
"placeholders": {}
},
"enterAnEmailAddress": "Enter an email address",
"enterAnEmailAddress": "Email address (not mandatory)",
"@enterAnEmailAddress": {
"type": "text",
"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": {},
"enterAUsername": "Enter a username",

View File

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

View File

@ -88,12 +88,13 @@ class SignupPageView extends StatelessWidget {
controller.loading ? null : [AutofillHints.username],
validator: controller.emailTextFieldValidator,
decoration: FluffyThemes.loginTextFieldDecoration(
prefixIcon: const Icon(
Icons.mail_outlined,
color: Colors.black,
),
hintText: L10n.of(context)!.enterAnEmailAddress,
errorText: controller.error),
prefixIcon: const Icon(
Icons.mail_outlined,
color: Colors.black,
),
hintText: L10n.of(context)!.enterAnEmailAddress,
errorText: controller.error,
),
),
),
Hero(