Add user state to the frontend #4
Labels
No labels
backlog
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TWS/kalkutago#4
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?
The user authentication token needs stored in the application state and sent along with all requests which require auth. Probably best to add a
fetch()
method to the state, in addition to the user. Failure to make a request in that method could redirect the user to the login view (see #3)