mirror of
https://github.com/bitwarden/server.git
synced 2024-11-25 12:45:18 +01:00
format long strings
This commit is contained in:
parent
005a97d0b0
commit
64cd0b8942
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -77,7 +77,7 @@ namespace Bit.Setup
|
||||
if(ssl)
|
||||
{
|
||||
Directory.CreateDirectory($"/bitwarden/ssl/{domain}/");
|
||||
Helpers.ShowBanner("NOTE", "Make sure 'certificate.crt' and 'private.key' are provided in the " +
|
||||
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
|
||||
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…
Reference in New Issue
Block a user