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

fix: Sign up page: Fix trimmed text not being done correctly #1545

Merged
merged 2 commits into from
Apr 12, 2022

Conversation

g123k
Copy link
Collaborator

@g123k g123k commented Apr 11, 2022

Fix #1542

Rework how TextEditingControllers work on the sign up page

@g123k g123k requested a review from a team as a code owner April 11, 2022 12:52
@g123k g123k changed the title Sign up page: Fix trimmed text not being done correctly fix: Sign up page: Fix trimmed text not being done correctly Apr 11, 2022
@github-actions github-actions bot added the 👥 User management Account login, signup, signout label Apr 11, 2022
@g123k g123k self-assigned this Apr 11, 2022
@g123k
Copy link
Collaborator Author

g123k commented Apr 11, 2022

Oops sorry, one file was missing

Comment on lines +151 to +152
} else if (_password2Controller.text !=
_password1Controller.text) {
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't both of them be trimedText too

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I was wondering… but the user may want some spaces in its password
… or maybe we should enforce rules on passwords

Copy link
Member

Choose a reason for hiding this comment

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

I'd definitively sense to not allow spaces in passwords

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I propose to let the code as it, and to open in parallel an issue and discuss about this case (which is not the primary goal of this PR)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Issue with the password policy: #1555

@M123-dev M123-dev merged commit 3bfe7f7 into develop Apr 12, 2022
@M123-dev M123-dev deleted the signup_email_fix branch April 12, 2022 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👥 User management Account login, signup, signout
Projects
None yet
Development

Successfully merging this pull request may close these issues.

During signup, The email address is shown backwards
2 participants