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:
@ -17,7 +17,7 @@ SELECT
|
||||
FROM
|
||||
users
|
||||
WHERE
|
||||
(LOWER(username) = LOWER(@username) OR email = @email)
|
||||
(LOWER(username) = LOWER(@username) OR LOWER(email) = LOWER(@email))
|
||||
AND deleted = @deleted
|
||||
LIMIT
|
||||
1;
|
||||
|
Reference in New Issue
Block a user