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:
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