This should be an errorfree build!

This commit is contained in:
berinder
2014-10-09 00:00:53 +02:00
parent d4b1512cfc
commit 59953cbe36
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -192,6 +192,8 @@ namespace Swarmops.Logic.Security
/// <returns>A list of previously valid password hashes.</returns>
private static string[] GenerateLegacyPasswordHashes (Person person, string password)
{
// Calling Obsolete Property is valid here since we are generationg legacy hashes.
#pragma warning disable 618
if (person.PersonalNumber.Length > 0)
{
return new[]
@@ -205,6 +207,7 @@ namespace Swarmops.Logic.Security
{
SHA1.Hash(password + person.Identity + "Pirate")
};
#pragma warning restore 618
}
+1 -1
View File
@@ -200,7 +200,7 @@ namespace Swarmops.Logic.Swarm
}
}
[Obsolete("Use NationalIdNumber instead")]
public virtual string PersonalNumber
{
get { return person.PersonalNumber; }