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

Release 0.111.7 #2539

Open
wants to merge 2 commits into
base: release
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions RELEASE.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Release Notes
=============

Version 0.111.7
---------------

- Match email with iexact filter for a change request (#2537)

Version 0.111.6 (Released February 11, 2025)
---------------

Expand Down
2 changes: 1 addition & 1 deletion main/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
from main.celery_utils import OffsettingSchedule
from main.sentry import init_sentry

VERSION = "0.111.6"
VERSION = "0.111.7"

log = logging.getLogger()

Expand Down
2 changes: 1 addition & 1 deletion users/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ class ChangeEmailRequestUpdateSerializer(serializers.ModelSerializer):
@transaction.atomic
def update(self, instance, validated_data):
"""Updates an email change request"""
if User.objects.filter(email=instance.new_email).exists():
if User.objects.filter(email__iexact=instance.new_email).exists():
log.debug(
"User %s tried to change email address to one already in use", instance
)
Expand Down