[GH-ISSUE #87] Login is case sensitive and now I have two subscriptions #77

Open
opened 2026-03-02 23:02:11 +03:00 by kerem · 1 comment
Owner

Originally created by @jchristn on GitHub (Mar 13, 2024).
Original GitHub issue: https://github.com/agrinman/tunnelto/issues/87

Hello, I emailed you on this issue. Apparently I somehow ended up with two subscriptions because your login (email address) is case sensitive.

Originally created by @jchristn on GitHub (Mar 13, 2024). Original GitHub issue: https://github.com/agrinman/tunnelto/issues/87 Hello, I emailed you on this issue. Apparently I somehow ended up with two subscriptions because your login (email address) is case sensitive.
Author
Owner

@akashverma92 commented on GitHub (Dec 27, 2025):

I ran into a similar issue where the same email with different casing
(e.g., User@domain.com vs user@domain.com) is treated as separate accounts,
which can lead to duplicate subscriptions.

A possible fix could be normalizing email addresses to lowercase
during signup and authentication, and enforcing a case-insensitive
unique constraint at the database level.

If this approach sounds good, I’d be happy to work on a PR for this.

<!-- gh-comment-id:3693950687 --> @akashverma92 commented on GitHub (Dec 27, 2025): I ran into a similar issue where the same email with different casing (e.g., User@domain.com vs user@domain.com) is treated as separate accounts, which can lead to duplicate subscriptions. A possible fix could be normalizing email addresses to lowercase during signup and authentication, and enforcing a case-insensitive unique constraint at the database level. If this approach sounds good, I’d be happy to work on a PR for this.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tunnelto#77
No description provided.