mirror of
https://github.com/bitwarden/server
synced 2025-12-17 16:53:23 +00: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:
10
src/Core/Exceptions/DuplicateAuthRequestException.cs
Normal file
10
src/Core/Exceptions/DuplicateAuthRequestException.cs
Normal 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.")
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user