Browse Source

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

* [Reset Password] Update Custom orgs for UseResetPassword

* Improved script content
pull/1401/head
Vincent Salucci 5 years ago committed by GitHub
parent
commit
658f79b80e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      util/Migrator/DbScripts/2021-06-15_00_UseResetPasswordCustomOrg.sql

6
util/Migrator/DbScripts/2021-06-15_00_UseResetPasswordCustomOrg.sql

@ -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
Loading…
Cancel
Save