mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #3174] [MERGED] fix: email not being checked case insensitive on team invitation acceptance #4267
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#4267
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hoppscotch/hoppscotch/pull/3174
Author: @AndrewBastin
Created: 7/6/2023
Status: ✅ Merged
Merged: 7/11/2023
Merged by: @AndrewBastin
Base:
release/2023.4.8← Head:bug/team-invite-email📝 Commits (1)
83c25cffix: email not being checked case insensitive on team invitation📊 Changes
2 files changed (+5 additions, -3 deletions)
View changed files
📝
packages/hoppscotch-backend/src/team-invitation/team-invitation.service.ts(+3 -1)📝
packages/hoppscotch-backend/src/team-invitation/team-invitee.guard.ts(+2 -2)📄 Description
Closes HBE-238
Description
This PR deals with a tiny bug in the team invitation acceptance logic and
TeamInviteeGuardon how they compare if two emails are equal.In the places fixed by this PR, they were compared in a case-sensitive way, but generally emails should be compared in case-insensitive as many email servers do normalise it to lowercase (even though it is not specified as such in the Email Spec).
Checks
Additional Information
N/A
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.