mirror of
https://github.com/bitwarden/server.git
synced 2025-03-11 13:19:40 +01:00
fix(newDeviceVerification): updated error response from invalid OTP
This commit is contained in:
parent
29dc69a77b
commit
2acb66ac8e
@ -256,7 +256,7 @@ public class DeviceValidator(
|
||||
break;
|
||||
case DeviceValidationResultType.InvalidNewDeviceOtp:
|
||||
result.ErrorDescription = "Invalid New Device OTP";
|
||||
customResponse.Add("ErrorModel", new ErrorResponseModel("invalid new device otp"));
|
||||
customResponse.Add("ErrorModel", new ErrorResponseModel("invalid new device otp. try again."));
|
||||
break;
|
||||
case DeviceValidationResultType.NewDeviceVerificationRequired:
|
||||
result.ErrorDescription = "New device verification required";
|
||||
|
Loading…
Reference in New Issue
Block a user