faustjs icon indicating copy to clipboard operation
faustjs copied to clipboard

Toolbar: Infinite logout/login loop on preview routes

Open blakewilson opened this issue 4 months ago • 1 comments

Description

When logging out of the toolbar from a preview route, it logs the user out, then automatically logs them back in.

Steps to reproduce

  1. Clone the faustwp-getting-started example
  2. Setup your env vars
  3. npm run dev
  4. In your WP backend, preview a post
  5. After you've been authenticated and can see the preview content, in the toolbar, logout
  6. Notice after logging out, you are logged back in

Additional context

No response

@faustwp/core Version

2.1.2

@faustwp/cli Version

2.0.0

FaustWP Plugin Version

1.2.1

WordPress Version

6.4.3

Additional environment details

No response

Please confirm that you have searched existing issues in the repo.

  • [X] Yes

blakewilson avatar Feb 21 '24 16:02 blakewilson