Updated the Startup.cs to forward headers, hopefully this will help with making sure remote IPs are correctly retrieved.
This commit is contained in:
@@ -60,6 +60,8 @@ namespace SecureCore.Authentication
|
||||
|
||||
public static string HashStringData(string data, byte[] salt = null)
|
||||
{
|
||||
return data;
|
||||
|
||||
if (salt == null) salt = new byte[0];
|
||||
|
||||
return GetHash(data, salt);
|
||||
@@ -67,6 +69,8 @@ namespace SecureCore.Authentication
|
||||
|
||||
public static string HashStringData(string data, string salt = "")
|
||||
{
|
||||
return data;
|
||||
|
||||
var saltBytes = new byte[0];
|
||||
|
||||
if(!string.IsNullOrEmpty(salt))
|
||||
|
||||
Reference in New Issue
Block a user