Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable longer/secure password on user account registration #1452

Draft
wants to merge 14 commits into
base: develop
Choose a base branch
from

Conversation

Alihassanc5
Copy link
Collaborator

@Alihassanc5 Alihassanc5 commented Nov 2, 2022

Closes #1391
Closes #1392

  • Now creating a new account as a user allows "4-digit PIN or a longer password" password.
  • The placeholder text used during account registration is more straightforward and read by all screen readers.
    image

Change Password
image

@Alihassanc5 Alihassanc5 marked this pull request as ready for review November 2, 2022 13:28
@sheralim012 sheralim012 marked this pull request as draft December 26, 2022 16:34
@sheralim012 sheralim012 marked this pull request as ready for review January 10, 2023 18:18
Copy link
Contributor

@istride istride left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any copy (labels, help text, etc) should be approved by @cbunicef first. Anything that needs to be translated should be identified and flagged as soon as possible.

@@ -95,3 +95,8 @@ form input[type="checkbox"] {
font-weight: 500;
line-height: 14px;
}

.fieldWrapper input[type=checkbox] {
transform: translateY(3px);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems weird to me. Why use transform instead of, say, margin or padding?

@@ -32,10 +39,10 @@ class AccountSignupForm(SignupForm):
def __init__(self, *args, **kwargs):
super(AccountSignupForm, self).__init__(*args, **kwargs)
self.fields.pop('email')
self.fields["password1"] = IogtPasswordField(label=_("4-digit PIN"), autocomplete="new-password")
self.fields["password1"] = IogtPasswordField(label=_("Enter a 4-digit PIN or a longer password"), autocomplete="new-password")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this will have to be re-translated. I've asked whether this should be done now or as a separate issue.

@sheralim012 sheralim012 marked this pull request as draft April 4, 2023 14:36
@sheralim012
Copy link
Contributor

@cbunicef you can take the translations.csv from this to add translations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Accessibility of account registration Enable longer passwords on user account registration
3 participants