mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-08-03 07:01:56 +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. |
||
|---|---|---|
| .. | ||
| auth | ||
| controllers | ||
| finders | ||
| managers | ||
| migrations | ||
| models | ||
| objects | ||
| providers | ||
| scripts | ||
| utils | ||
| Database.test.js | ||
| Logger.test.js | ||