Commit

738ab0e

Running WHERE LOWER(email) = LOWER(?) on a login endpoint bypasses a standard B-tree index on email and scans the whole users table. Either add a functional index on LOWER(email) or normalize emails to lowercase before saving so lookups stay under a millisecond.

commit 738ab0e