mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-08-03 15:11:44 +00:00
getUserByUsername/getUserByEmail normalize to lowercase before the cache lookup, but the cache comparators matched case-sensitively, so a mixed-case stored username never cache-hit and every login ran an unindexed LOWER() scan. Compare case-insensitively inside the cache. |
||
|---|---|---|
| .. | ||
| MediaProgress.test.js | ||
| oldJsonSerialization.test.js | ||
| User.test.js | ||