diff --git a/coffeecard/CoffeeCard.Library/Services/v2/AccountService.cs b/coffeecard/CoffeeCard.Library/Services/v2/AccountService.cs index 3be914a8..7bfdbd41 100644 --- a/coffeecard/CoffeeCard.Library/Services/v2/AccountService.cs +++ b/coffeecard/CoffeeCard.Library/Services/v2/AccountService.cs @@ -162,7 +162,7 @@ public Task EmailExistsAsync(string email) public async Task ResendAccountVerificationEmail(ResendAccountVerificationEmailRequest request) { var user = await _context.Users - .Where(u => u.Email.Equals(request.Email, StringComparison.OrdinalIgnoreCase)) + .Where(u => u.Email.ToLower().Equals(request.Email.ToLower())) .FirstOrDefaultAsync(); if (user == null)