mirror of
https://github.com/bitwarden/server.git
synced 2025-04-05 05:00:19 -05:00
Fallback for null/default database name (#1429)
This commit is contained in:
parent
a77355c594
commit
624b5e40c6
@ -62,7 +62,7 @@ namespace Bit.Setup
|
||||
var dbConnectionString = new SqlConnectionStringBuilder
|
||||
{
|
||||
DataSource = "tcp:mssql,1433",
|
||||
InitialCatalog = _context.Install?.Database,
|
||||
InitialCatalog = _context.Install?.Database ?? "vault",
|
||||
UserID = "sa",
|
||||
Password = dbPassword,
|
||||
MultipleActiveResultSets = false,
|
||||
|
Loading…
x
Reference in New Issue
Block a user