public async Task <string> WPLogin(LoginModel credentials) { NetworkHelper network = new NetworkHelper(); SystemLogger logger = new SystemLogger(Globals.DBConnectionKey); //this is just a honeypot to capture script kiddies. string ipAddress = network.GetClientIpAddress(this.Request); await logger.InsertSecurityAsync(JsonConvert.SerializeObject(credentials), ipAddress, "api/Accounts/WpLogin"); return("Error invalid name or password"); }