Invalid Token Bug #42

Closed
opened 2020-09-03 22:15:37 +02:00 by are0h · 1 comment
are0h commented 2020-09-03 22:15:37 +02:00 (Migrated from koodu.ubiqueros.com)

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.

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.
are0h commented 2020-09-04 05:20:05 +02:00 (Migrated from koodu.ubiqueros.com)

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.

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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: projects/fipamo#42
No description provided.