Rename CreateRandomPassword to CreateWeakSecret, to underscore it's nowhere near random
This commit is contained in:
@@ -78,7 +78,7 @@ namespace Swarmops.Logic.Swarm
|
||||
|
||||
private static string CreateRandomCode (int length)
|
||||
{
|
||||
return Authentication.CreateRandomPassword (length);
|
||||
return Authentication.CreateWeakSecret (length);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user