mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-29 07:09:48 +03:00
2bf626bf6c
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 |
||
---|---|---|
.. | ||
acceptance | ||
helpers | ||
integration | ||
unit | ||
index.html | ||
test-helper.js |