1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 15:42:48 -05:00

[SG-762] Prevent approving request on second device after denying on first (#2370)

* Added check to ensure a passwordless request is not acted upon multiple times

* Corrected grammer
This commit is contained in:
Gbubemi Smith
2022-10-28 11:58:05 -04:00
committed by GitHub
parent ea33c27b9e
commit 9703fb6874
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,10 @@
namespace Bit.Core.Exceptions;
public class DuplicateAuthRequestException : Exception
{
public DuplicateAuthRequestException()
: base("An authentication request with the same device already exists.")
{
}
}