mirror of
https://github.com/bitwarden/server.git
synced 2025-04-22 05:25:10 -05:00
format long strings
This commit is contained in:
parent
005a97d0b0
commit
64cd0b8942
@ -35,9 +35,9 @@ namespace Bit.Setup
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
var message = "You are not using an SSL certificate. Bitwarden requires HTTPS to operate. " +
|
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 other Bitwarden " +
|
"You must front your installation with a HTTPS proxy. The web vault (and \n" +
|
||||||
"apps) will not work properly without HTTPS.";
|
"other Bitwarden apps) will not work properly without HTTPS.";
|
||||||
Helpers.ShowBanner("WARNING", message, ConsoleColor.Yellow);
|
Helpers.ShowBanner("WARNING", message, ConsoleColor.Yellow);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -77,7 +77,7 @@ namespace Bit.Setup
|
|||||||
if(ssl)
|
if(ssl)
|
||||||
{
|
{
|
||||||
Directory.CreateDirectory($"/bitwarden/ssl/{domain}/");
|
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).");
|
"appropriate directory (see docs for info).");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -91,9 +91,9 @@ namespace Bit.Setup
|
|||||||
var sslDiffieHellman = letsEncrypt;
|
var sslDiffieHellman = letsEncrypt;
|
||||||
if(ssl && !selfSignedSsl && !letsEncrypt)
|
if(ssl && !selfSignedSsl && !letsEncrypt)
|
||||||
{
|
{
|
||||||
sslDiffieHellman = Helpers.ReadQuestion(
|
sslDiffieHellman = Helpers.ReadQuestion("Use Diffie Hellman ephemeral parameters for SSL " +
|
||||||
"Use Diffie Hellman ephemeral parameters for SSL (requires dhparam.pem)?");
|
"(requires dhparam.pem, see docs)?");
|
||||||
sslTrusted = Helpers.ReadQuestion("Is this a trusted SSL certificate (requires ca.crt)?");
|
sslTrusted = Helpers.ReadQuestion("Is this a trusted SSL certificate (requires ca.crt, see docs)?");
|
||||||
}
|
}
|
||||||
|
|
||||||
var url = $"https://{domain}";
|
var url = $"https://{domain}";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user