mirror of
https://github.com/bitwarden/server.git
synced 2025-01-26 22:31:30 +01:00
delete u2f records on user delete
This commit is contained in:
parent
a25710e756
commit
85df605791
@ -65,6 +65,13 @@ BEGIN
|
||||
WHERE
|
||||
[UserId] = @Id
|
||||
|
||||
-- Delete U2F logins
|
||||
DELETE
|
||||
FROM
|
||||
[dbo].[U2f]
|
||||
WHERE
|
||||
[UserId] = @Id
|
||||
|
||||
-- Finally, delete the user
|
||||
DELETE
|
||||
FROM
|
||||
|
Loading…
Reference in New Issue
Block a user