mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
coderd: treat email case insensitively (#4215)
This commit is contained in:
@ -3071,7 +3071,7 @@ SELECT
|
||||
FROM
|
||||
users
|
||||
WHERE
|
||||
(LOWER(username) = LOWER($1) OR email = $2)
|
||||
(LOWER(username) = LOWER($1) OR LOWER(email) = LOWER($2))
|
||||
AND deleted = $3
|
||||
LIMIT
|
||||
1
|
||||
|
Reference in New Issue
Block a user