mirror of
https://github.com/bitwarden/server.git
synced 2025-05-22 12:04:27 -05: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…
x
Reference in New Issue
Block a user