Details

BiteAlert Email Links

Add these links back

Onboarding email link:

private string GenerateEmailConfirmationLink(Guid userId, string token)
{
   var encodedToken = HttpUtility.UrlEncode(token);
   return $"{emailConfig.BaseUrl}/api/v1/auth/verify-email?userId={userId}&token={encodedToken}";
}

Password reset

private string GeneratePasswordResetLink(Guid userId, string token)
{
   var encodedToken = HttpUtility.UrlEncode(token);
   return $"{emailConfig.BaseUrl}/api/v1/auth/reset-password?userId={userId}&token={encodedToken}";
}

links.