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

Accounts: For signup, login and password reset, username and password should be treated case insensitive #2067

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

molokov
Copy link
Contributor

@molokov molokov commented Dec 24, 2023

Fixes #2066

My apologies that this branch contains other unrelated fixes, but some of these are required to run with the latest versions of Bleach/PIL and thus are part of my fork already.

Copy link
Collaborator

@henri-hulski henri-hulski left a comment

Choose a reason for hiding this comment

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

Looks good to me. Is it ready to be merged?

@molokov
Copy link
Contributor Author

molokov commented Dec 24, 2023

Unfortunately the PR has a few commits (from my master) related to other tickets, but if you are able to cherry pick the most recent two to merge, that should be enough for this one!

4015354
and
f10dc82

@@ -429,12 +429,17 @@ def thumbnail(
pad_container = Image.new("RGBA", pad_size, padding_color)
pad_container.paste(image, (pad_left, pad_top))
image = pad_container
# Make thumbnail a PNG - required if original isn't one
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think this change probably doesn't need to go back to main, I'm sure there's a better solution to changing a JPG's thumbnail to PNG (to allow for transparency background when using padding). Feel free to skip these lines on merge

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.

[BUG] accounts - username/email is not treated case insensitive
2 participants