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