1
0
mirror of https://github.com/bitwarden/server synced 2026-01-21 03:43:53 +00:00

delete ssouser on org and user delete (#902)

This commit is contained in:
Kyle Spearrin
2020-09-01 16:05:37 -04:00
committed by GitHub
parent 9faa9406a6
commit 47224913d4
3 changed files with 155 additions and 0 deletions

View File

@@ -23,6 +23,12 @@ BEGIN
COMMIT TRANSACTION Organization_DeleteById_Ciphers
END
DELETE
FROM
[dbo].[SsoUser]
WHERE
[OrganizationId] = @Id
DELETE
FROM
[dbo].[Organization]