diff --git a/Logic/Security/Authentication.cs b/Logic/Security/Authentication.cs index e70e5216..68a2dd05 100644 --- a/Logic/Security/Authentication.cs +++ b/Logic/Security/Authentication.cs @@ -165,7 +165,8 @@ namespace Swarmops.Logic.Security internal static string GeneratePasswordHash (int personId, string password) { - return BCrypt.HashPassword(password + personId.ToString(CultureInfo.InvariantCulture), BCrypt.GenerateSalt(12)); + return SHA1.Hash(password + personId + "Pirate"); + // return BCrypt.HashPassword(password + personId.ToString(CultureInfo.InvariantCulture), BCrypt.GenerateSalt(12)); WTF doesn't work }