mirror of
https://github.com/bitwarden/server.git
synced 2025-07-13 13:47:30 -05:00
set cipher id to limit collection scope
This commit is contained in:
@ -16,7 +16,7 @@ BEGIN
|
||||
UPDATE
|
||||
[dbo].[Cipher]
|
||||
SET
|
||||
[UserId] = @UserId,
|
||||
[UserId] = CASE WHEN @OrganizationId IS NULL THEN @UserId ELSE NULL END,
|
||||
[OrganizationId] = @OrganizationId,
|
||||
[Type] = @Type,
|
||||
[Data] = @Data,
|
||||
|
Reference in New Issue
Block a user