🐛 Fix api key exists cause regular login 500
This commit is contained in:
		| @@ -52,7 +52,7 @@ public class AuthService( | ||||
|             riskScore += 1; | ||||
|         else | ||||
|         { | ||||
|             if (!string.IsNullOrEmpty(lastActiveInfo?.Challenge.IpAddress) && | ||||
|             if (!string.IsNullOrEmpty(lastActiveInfo?.Challenge?.IpAddress) && | ||||
|                 !lastActiveInfo.Challenge.IpAddress.Equals(ipAddress, StringComparison.OrdinalIgnoreCase)) | ||||
|                 riskScore += 1; | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user