Johannes Meyer ef522cc2a0 DbUserBackend: Lowercase usernames before fetching password hashes
The BINARY cast to make trailing spaces significant (#4030) also
made these queries case-sensitive. This wasn't identified at the
time because the query itself wasn't case-insensitive, but the
default collation on the `name` column. (Tests sometimes are the
perfect mitigation for this...)

fixes #4184

(cherry picked from commit 4d173e6746d11314e12dc9a48a8e27826ab6a5ed)
2020-06-24 14:17:07 +02:00
..
2020-03-02 14:15:53 +01:00
2016-03-29 11:25:53 +02:00
2019-07-23 13:53:29 +02:00