fix: remove the correct auth token response (it changed the name since this was written)
This commit is contained in:
@@ -78,7 +78,7 @@ export class UmbResourceController extends UmbControllerBase {
|
||||
console.log('Unauthorized');
|
||||
|
||||
// TODO: Do not remove the token here but instead let whatever is listening to the event decide what to do
|
||||
localStorage.removeItem('tokenResponse');
|
||||
localStorage.removeItem('umb:userAuthTokenResponse');
|
||||
|
||||
// TODO: Show a modal dialog to login either by bubbling an event to UmbAppElement or by showing a modal directly
|
||||
this.#notificationContext?.peek('warning', {
|
||||
|
||||
Reference in New Issue
Block a user