Rename CreateRandomPassword to CreateWeakSecret, to underscore it's nowhere near random

This commit is contained in:
Rick Falkvinge
2016-03-13 11:41:51 +01:00
parent 6f0dca0089
commit 978dfd6fa8
7 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ namespace Swarmops.Logic.Swarm
private static string CreateRandomCode (int length)
{
return Authentication.CreateRandomPassword (length);
return Authentication.CreateWeakSecret (length);
}
}
}