Ghost/ghost/admin/tests
Kevin Ansfield 2bf626bf6c Added explicit 2fa required error detection
no issue

- previously we determined any 403 response was an indication that we should switch to the 2fa input screen during sign-in
- added a custom error that explicitly looks for an error with our `2FA_TOKEN_REQUIRED` code so we don't have any confusion when a non-2fa 403 is received for any reason and to have the option of moving away from the 403 if needed without breaking the client
- test to ensure our error 2fa-required error detection works correctly
- extracted duplicate steps in the authentication tests into a helper function
- fixed authentication tests so they better represent our API output of `errors` being an array
2024-10-21 11:01:40 +01:00
..
acceptance Added explicit 2fa required error detection 2024-10-21 11:01:40 +01:00
helpers Fixed errors from 404 error handler for non-transition 404s 2024-09-13 11:02:55 +01:00
integration Fixed signin and signup button failure state hover colors 2024-10-17 16:54:23 +01:00
unit Added 2fa happy path to Admin 2024-10-21 11:01:40 +01:00
index.html Remove ember application template wrapper 2018-05-01 10:57:20 +01:00
test-helper.js Added full-page refresh when new post route is in a bad state 2024-09-23 22:38:34 +01:00