mirror of
https://github.com/bitwarden/server.git
synced 2024-12-23 17:07:42 +01:00
[AC-2824] Change DuplicateAuthRequestException to Inherit from BadRequestException for Correct 400 Status Code (#4470)
This commit is contained in:
parent
3540c2bf87
commit
3bbac5693f
@ -1,6 +1,8 @@
|
||||
namespace Bit.Core.Auth.Exceptions;
|
||||
using Bit.Core.Exceptions;
|
||||
|
||||
public class DuplicateAuthRequestException : Exception
|
||||
namespace Bit.Core.Auth.Exceptions;
|
||||
|
||||
public class DuplicateAuthRequestException : BadRequestException
|
||||
{
|
||||
public DuplicateAuthRequestException()
|
||||
: base("An authentication request with the same device already exists.")
|
||||
|
Loading…
Reference in New Issue
Block a user