Ghost/ghost/admin/tests
Kevin Ansfield 68af12cfad Added 2fa happy path to Admin
closes https://linear.app/tryghost/issue/ENG-1617/
closes https://linear.app/tryghost/issue/ENG-1619/

- updated cookie authenticator's `authenticate` method to accept an `{identification, pasword, token}` object
  - if `token` is provided, hit our `PUT /session/verify/` endpoint passing through the token instead of hitting the `POST /session/` endpoint
- added `signin/verify` route
  - displays a 2fa code input field, including required attributes for macOS auto-fill from email/messages to work
  - uses `session.authenticate({token})` when submitted
- updated signin routine to detect token-required state
  - detects a `403` response with a `2FA_TOKEN_REQUIRED` code property when authenticating
  - if detected transitions to the `signin/verify` route
2024-10-21 11:01:40 +01:00
..
acceptance Added 2fa happy path to Admin 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