Skip to content

use = instead of LIKE for email lookups#255

Merged
cmyui merged 1 commit into
osuAkatsuki:masterfrom
raya-ac:fix/email-like-to-equals
Apr 3, 2026
Merged

use = instead of LIKE for email lookups#255
cmyui merged 1 commit into
osuAkatsuki:masterfrom
raya-ac:fix/email-like-to-equals

Conversation

@raya-ac

@raya-ac raya-ac commented Apr 3, 2026

Copy link
Copy Markdown
Contributor

Fixes #250

LIKE treats % and _ as wildcards which can cause false positives on email uniqueness checks.

@cmyui cmyui left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

very nice find!

@cmyui
cmyui merged commit 9286423 into osuAkatsuki:master Apr 3, 2026
1 check passed
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.

Email uniqueness check uses LIKE instead of =

2 participants