1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 15:42:48 -05:00

Explicitly set quoted identifier on for problem objects (#1360)

This commit is contained in:
Matt Gibson
2021-06-01 14:52:22 -05:00
committed by GitHub
parent 99ed04552c
commit a7d700f1cb
3 changed files with 354 additions and 3 deletions

View File

@ -352,4 +352,4 @@
<Build Include="dbo\Stored Procedures\ProviderOrganizationProviderUser_ReadById.sql" />
<Build Include="dbo\Stored Procedures\ProviderOrganizationProviderUser_Update.sql" />
</ItemGroup>
</Project>
</Project>

View File

@ -7,7 +7,7 @@ BEGIN
[Id],
[UseEvents],
[Use2fa],
CASE
CASE
WHEN [Use2fa] = 1 AND [TwoFactorProviders] IS NOT NULL AND [TwoFactorProviders] != '{}' THEN
1
ELSE
@ -19,4 +19,4 @@ BEGIN
[Enabled]
FROM
[dbo].[Organization]
END
END