Skip to content

Commit

Permalink
[PM-1946] remove ApprovePasswordlessLogins value on logout (#2494)
Browse files Browse the repository at this point in the history
(cherry picked from commit 7130d8a)
  • Loading branch information
andrebispo5 authored and trmartin4 committed Apr 25, 2023
1 parent 0b51796 commit 8f59e79
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Core/Services/StateService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1428,6 +1428,7 @@ private async Task RemoveAccountAsync(string userId, bool userInitiated)
await SetEncryptedPasswordGenerationHistoryAsync(null, userId);
await SetEncryptedSendsAsync(null, userId);
await SetSettingsAsync(null, userId);
await SetApprovePasswordlessLoginsAsync(null, userId);
}

private async Task ScaffoldNewAccountAsync(Account account)
Expand Down

0 comments on commit 8f59e79

Please sign in to comment.