Skip to content

Commit daae0c6

Browse files
Zamelanescffs
andauthored
fix user login in uppercase (#413)
Co-authored-by: Semyon Okulov <[email protected]>
1 parent 5a987a4 commit daae0c6

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

apps/api/src/routes/auth/login/handler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const postAuth = async ({
4646

4747
const userData = await saveUserData(
4848
parsedRes,
49-
login,
49+
login.toLowerCase(),
5050
password,
5151
setCookieHeader
5252
)

bun.lockb

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)