GitClassic
Feed
Explore
Random
Go Pro
Sign in
Svenlaa
/
video-gamer
Code
/
Commits
/ 902a614
Allow login with either email and username
Svenlaa
committed on Sep 9, 2022, 11:56 AM
Showing
6
changed files
+42 additions
-22 deletions
M
prisma/schema.prisma
+2
-1
M
src/pages/api/auth/[...nextauth].ts
+8
-4
M
src/pages/login.tsx
+8
-8
M
src/pages/profile.tsx
+1
-1
M
src/pages/register.tsx
+11
-4
M
src/server/router/auth.ts
+12
-4
Browse files at this commit โ