@etsoo/materialui 1.3.87 → 1.3.88

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -87,6 +87,8 @@ export class CommonApp extends ReactApp {
87
87
  if (result == null)
88
88
  return false;
89
89
  if (!result.ok) {
90
+ // Remove the wrong token
91
+ this.clearCacheToken();
90
92
  if (result.type === "TokenExpired" && relogin) {
91
93
  // Try login
92
94
  // Dialog to receive password
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/materialui",
3
- "version": "1.3.87",
3
+ "version": "1.3.88",
4
4
  "description": "TypeScript Material-UI Implementation",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -50,7 +50,7 @@
50
50
  "@emotion/css": "^11.13.0",
51
51
  "@emotion/react": "^11.13.3",
52
52
  "@emotion/styled": "^11.13.0",
53
- "@etsoo/appscript": "^1.5.15",
53
+ "@etsoo/appscript": "^1.5.16",
54
54
  "@etsoo/notificationbase": "^1.1.47",
55
55
  "@etsoo/react": "^1.7.66",
56
56
  "@etsoo/shared": "^1.2.44",
@@ -132,6 +132,9 @@ export abstract class CommonApp<
132
132
  if (result == null) return false;
133
133
 
134
134
  if (!result.ok) {
135
+ // Remove the wrong token
136
+ this.clearCacheToken();
137
+
135
138
  if (result.type === "TokenExpired" && relogin) {
136
139
  // Try login
137
140
  // Dialog to receive password