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

Login should remove whitespaces from username #1258

Closed
2 of 4 tasks
tubbadu opened this issue Jun 14, 2023 · 0 comments · Fixed by #1265
Closed
2 of 4 tasks

Login should remove whitespaces from username #1258

tubbadu opened this issue Jun 14, 2023 · 0 comments · Fixed by #1265
Labels
bug Something isn't working

Comments

@tubbadu
Copy link

tubbadu commented Jun 14, 2023

  • Did you check to see if this issue already exists?
  • Is this only a single bug? Do not put multiple bugs in one issue.
  • Is this a question or discussion? Don't use this, use https://lemmy.ml/c/lemmy_support .
  • Is this a UI / front end issue? Use the lemmy-ui repo.

Issue Summary

trying to log in with username (with a whitespace at the end) results in an infinite loading. In my case it was caused by an error in bitwarden saved username, that added a whitespace, and took my a while to understand

Steps to Reproduce

  1. click login
  2. type your username followed by a whitespace, and your password
  3. enjoy

it should only throw a trim() on the username before logging in I guess

@tubbadu tubbadu added the bug Something isn't working label Jun 14, 2023
@Nutomic Nutomic transferred this issue from LemmyNet/lemmy Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant