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

1071 force email address lowercase #1075

Merged
merged 11 commits into from
Mar 10, 2023

Conversation

joeltejeda
Copy link
Collaborator

No description provided.

@github-actions
Copy link

github-actions bot commented Mar 8, 2023

🙌 Live preview is here: http://1071-force-email-address-lowercase.pcpink.co.uk

@@ -1412,7 +1412,7 @@ def change_email():
"""Change email of existing user"""
form = ChangeEmailForm()
if request.method == "POST":
email = session.get("user_id", None)
email = session.get("user_id", None).lower()
Copy link
Contributor

Choose a reason for hiding this comment

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

.lower() would fail here when None because None is not a string 👍

@joeltejeda joeltejeda temporarily deployed to testing March 10, 2023 22:31 — with GitHub Actions Inactive
@github-actions
Copy link

🙌 Live preview is here: http://1071-force-email-address-lowercase.pcpink.co.uk

@joeltejeda joeltejeda merged commit 178611e into master Mar 10, 2023
@joeltejeda joeltejeda temporarily deployed to production March 10, 2023 23:30 — with GitHub Actions Inactive
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.

2 participants