1
0
mirror of https://github.com/bitwarden/server.git synced 2024-12-22 16:57:36 +01:00

[Reset Password] Update Custom orgs for UseResetPassword (#1399)

* [Reset Password] Update Custom orgs for UseResetPassword

* Improved script content
This commit is contained in:
Vincent Salucci 2021-06-16 14:40:27 -05:00 committed by GitHub
parent d2e48a5c2c
commit 658f79b80e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,6 @@
-- For Enterprise (annual/monthly) and Custom (internal) orgs, enable potential use of UseResetPassword
UPDATE
[dbo].[Organization]
SET
[UseResetPassword] = (CASE WHEN [PlanType] IN (10, 11, 6) THEN 1 ELSE [UseResetPassword] END)
GO