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
+2 -2
View File
@@ -69,7 +69,7 @@ namespace Swarmops.Frontend.Pages.v5.Public
// this.LanguageSelector.LanguageChanged += new EventHandler(LanguageSelector_LanguageChanged);
this.TextRandomDbLabel.Text = Authentication.CreateRandomPassword (5);
this.TextRandomDbLabel.Text = Authentication.CreateWeakSecret (5);
Localize();
}
@@ -122,7 +122,7 @@ namespace Swarmops.Frontend.Pages.v5.Public
if (string.IsNullOrEmpty (random))
{
random = Authentication.CreateRandomPassword (5);
random = Authentication.CreateWeakSecret (5);
}
SwarmDb.Credentials rootCredentials = new SwarmDb.Credentials ("mysql",