Let email case sensitive (#1357)
This commit is contained in:
		
							parent
							
								
									cbf528c33e
								
							
						
					
					
						commit
						3bc659af44
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -29,7 +29,7 @@ export default NextAuth({ | |||
|       async authorize(credentials) { | ||||
|         const user = await prisma.user.findUnique({ | ||||
|           where: { | ||||
|             email: credentials.email.toLowerCase(), | ||||
|             email: credentials.email, | ||||
|           }, | ||||
|         }); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Omar López
						Omar López