mirror of
https://github.com/bitwarden/server.git
synced 2025-07-07 02:52:50 -05:00
delete u2f records on user delete
This commit is contained in:
@ -65,6 +65,13 @@ BEGIN
|
|||||||
WHERE
|
WHERE
|
||||||
[UserId] = @Id
|
[UserId] = @Id
|
||||||
|
|
||||||
|
-- Delete U2F logins
|
||||||
|
DELETE
|
||||||
|
FROM
|
||||||
|
[dbo].[U2f]
|
||||||
|
WHERE
|
||||||
|
[UserId] = @Id
|
||||||
|
|
||||||
-- Finally, delete the user
|
-- Finally, delete the user
|
||||||
DELETE
|
DELETE
|
||||||
FROM
|
FROM
|
||||||
|
Reference in New Issue
Block a user