-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TEMP] Signout user on unauthorized response (#1516)
* ProfilePage.tsx: Signout user on unauthorized response In some cases the keycloak session expires before the client session, which results in user not being able to see account's data such as donations and profile information. * useCurrentPerson: Don't retry query if response is 401 There is no need to retry on unauthorized response. * Run some linting * useCurrentPerson.ts: Signout user on useCurrentPerson() call
- Loading branch information
1 parent
39a213f
commit f8d8df6
Showing
2 changed files
with
41 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters