1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-04 20:50:21 -05:00

[Reset Password] Updated OrgResetPasswordAbilityAndRsaKeys sql script (#1418)

* Updated OrgResetPasswordAbilityAndRsaKeys sql script

* Removed unnecessary null check
This commit is contained in:
Vincent Salucci 2021-06-28 12:15:55 -05:00 committed by GitHub
parent 98415026b7
commit 2d41edf1f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,6 +12,8 @@ UPDATE
[dbo].[Organization]
SET
[UseResetPassword] = (CASE WHEN [PlanType] = 10 OR [PlanType] = 11 THEN 1 ELSE 0 END)
WHERE
[UseResetPassword] IS NULL
GO
ALTER TABLE