Return 403 when a push challenge is incorrect

This commit is contained in:
Ravi Khadiwala authored and ravi-signal committed 2022-09-30 12:02:47 -05:00
1 parent 538a07542e
commit a79d709039
2 files changed
+29 -32

No files matched your search

@@ -705,7 +705,7 @@ class AccountControllerTest {
.header("X-Forwarded-For", NICE_HOST)
.get();
assertThat(response.getStatus()).isEqualTo(402);
assertThat(response.getStatus()).isEqualTo(403);
verifyNoMoreInteractions(smsSender);
verifyNoMoreInteractions(abusiveHostRules);