Browse Source

format long strings

pull/288/head
Kyle Spearrin 8 years ago
parent
commit
64cd0b8942
  1. 6
      util/Setup/CertBuilder.cs
  2. 10
      util/Setup/Program.cs

6
util/Setup/CertBuilder.cs

@ -35,9 +35,9 @@ namespace Bit.Setup @@ -35,9 +35,9 @@ namespace Bit.Setup
}
else
{
var message = "You are not using an SSL certificate. Bitwarden requires HTTPS to operate. " +
"You must front your installation with a HTTPS proxy. The web vault (and other Bitwarden " +
"apps) will not work properly without HTTPS.";
var message = "You are not using an SSL certificate. Bitwarden requires HTTPS to operate. \n" +
"You must front your installation with a HTTPS proxy. The web vault (and \n" +
"other Bitwarden apps) will not work properly without HTTPS.";
Helpers.ShowBanner("WARNING", message, ConsoleColor.Yellow);
}
}

10
util/Setup/Program.cs

@ -77,8 +77,8 @@ namespace Bit.Setup @@ -77,8 +77,8 @@ namespace Bit.Setup
if(ssl)
{
Directory.CreateDirectory($"/bitwarden/ssl/{domain}/");
Helpers.ShowBanner("NOTE", "Make sure 'certificate.crt' and 'private.key' are provided in the " +
"appropriate directory (see docs for info).");
Helpers.ShowBanner("NOTE", "Make sure 'certificate.crt' and 'private.key' are provided in the \n" +
"appropriate directory (see docs for info).");
}
}
@ -91,9 +91,9 @@ namespace Bit.Setup @@ -91,9 +91,9 @@ namespace Bit.Setup
var sslDiffieHellman = letsEncrypt;
if(ssl && !selfSignedSsl && !letsEncrypt)
{
sslDiffieHellman = Helpers.ReadQuestion(
"Use Diffie Hellman ephemeral parameters for SSL (requires dhparam.pem)?");
sslTrusted = Helpers.ReadQuestion("Is this a trusted SSL certificate (requires ca.crt)?");
sslDiffieHellman = Helpers.ReadQuestion("Use Diffie Hellman ephemeral parameters for SSL " +
"(requires dhparam.pem, see docs)?");
sslTrusted = Helpers.ReadQuestion("Is this a trusted SSL certificate (requires ca.crt, see docs)?");
}
var url = $"https://{domain}";

Loading…
Cancel
Save