mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 23:52:50 -05:00
Fallback for null/default database name (#1429)
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user