Invalid Token Bug #42
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When the updates are pulled in from the repo, the site needs to restart to get a new token but there is currenlty no way for the user to logout and login to get a fresh token so they are stuck in a state where they are logged in but the API will not allow any admin actions because the current token is invalid.
There needs to be response for invalid tokens that will log the user out automatically so they can log in again for a new token.
So this issue only happened when I got rid of the two main themes and consolidated them, so it's probably better to add instructions in the docs to shut down the site before pulling in an update.
This should be a practice when updating the site anyway.