@vocollege/app 0.0.70 → 0.0.71
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.
package/dist/modules/VoAuth.js
CHANGED
|
@@ -234,10 +234,12 @@ var VoAuth = /** @class */ (function (_super) {
|
|
|
234
234
|
: "";
|
|
235
235
|
};
|
|
236
236
|
VoAuth.prototype.resetSession = function () {
|
|
237
|
-
console.log("VoConfig.get.AUTH_DOMAIN", VoConfig_1.default.get.AUTH_DOMAIN);
|
|
238
237
|
var refreshTokenKey = VoConfig_1.default.get.AUTH_STORAGE_REFRESH_TOKEN || "";
|
|
239
238
|
Helpers.localStorage.remove(refreshTokenKey);
|
|
240
|
-
js_cookie_1.default.remove(refreshTokenKey, {
|
|
239
|
+
js_cookie_1.default.remove(refreshTokenKey, {
|
|
240
|
+
domain: VoConfig_1.default.get.AUTH_DOMAIN,
|
|
241
|
+
sameSite: "Lax",
|
|
242
|
+
});
|
|
241
243
|
var accessTokenKey = VoConfig_1.default.get.AUTH_STORAGE_ACCESS_TOKEN || "";
|
|
242
244
|
Helpers.localStorage.remove(accessTokenKey);
|
|
243
245
|
js_cookie_1.default.remove(accessTokenKey, {
|
package/dist/modules/VoRouter.js
CHANGED
|
@@ -63,7 +63,6 @@ var VoRouter = /** @class */ (function () {
|
|
|
63
63
|
}
|
|
64
64
|
};
|
|
65
65
|
VoRouter.prototype.redirectToHome = function () {
|
|
66
|
-
// window.location.href = VoConfig.getConfigByKey('app').HOME;
|
|
67
66
|
window.location.href = VoConfig_1.default.get.HOME || "";
|
|
68
67
|
};
|
|
69
68
|
VoRouter.prototype.pathIsActive = function (to) {
|
package/package.json
CHANGED
package/src/modules/VoAuth.ts
CHANGED
|
@@ -141,11 +141,12 @@ class VoAuth extends VoBase {
|
|
|
141
141
|
: "";
|
|
142
142
|
}
|
|
143
143
|
resetSession() {
|
|
144
|
-
console.log("VoConfig.get.AUTH_DOMAIN", VoConfig.get.AUTH_DOMAIN);
|
|
145
|
-
|
|
146
144
|
let refreshTokenKey = VoConfig.get.AUTH_STORAGE_REFRESH_TOKEN || "";
|
|
147
145
|
Helpers.localStorage.remove(refreshTokenKey);
|
|
148
|
-
JsCookies.remove(refreshTokenKey, {
|
|
146
|
+
JsCookies.remove(refreshTokenKey, {
|
|
147
|
+
domain: VoConfig.get.AUTH_DOMAIN,
|
|
148
|
+
sameSite: "Lax",
|
|
149
|
+
});
|
|
149
150
|
|
|
150
151
|
let accessTokenKey = VoConfig.get.AUTH_STORAGE_ACCESS_TOKEN || "";
|
|
151
152
|
Helpers.localStorage.remove(accessTokenKey);
|