@vocollege/app 0.0.85 → 0.0.86
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 +1 -1
- package/package.json +1 -1
- package/src/modules/VoAuth.ts +2 -1
package/dist/modules/VoAuth.js
CHANGED
|
@@ -319,7 +319,7 @@ var VoAuth = /** @class */ (function (_super) {
|
|
|
319
319
|
VoConfig_1.default.get.AUTH_STORAGE_ACCESS_TOKEN,
|
|
320
320
|
].indexOf(cookieName) === -1) {
|
|
321
321
|
js_cookie_1.default.remove(cookieName, {
|
|
322
|
-
domain: VoConfig_1.default.get.AUTH_DOMAIN,
|
|
322
|
+
domain: ".".concat(VoConfig_1.default.get.AUTH_DOMAIN),
|
|
323
323
|
});
|
|
324
324
|
}
|
|
325
325
|
}
|
package/package.json
CHANGED
package/src/modules/VoAuth.ts
CHANGED
|
@@ -218,12 +218,13 @@ class VoAuth extends VoBase {
|
|
|
218
218
|
].indexOf(cookieName) === -1
|
|
219
219
|
) {
|
|
220
220
|
JsCookies.remove(cookieName, {
|
|
221
|
-
domain: VoConfig.get.AUTH_DOMAIN
|
|
221
|
+
domain: `.${VoConfig.get.AUTH_DOMAIN}`,
|
|
222
222
|
});
|
|
223
223
|
}
|
|
224
224
|
}
|
|
225
225
|
|
|
226
226
|
const token = this.getToken();
|
|
227
|
+
|
|
227
228
|
if (token) {
|
|
228
229
|
try {
|
|
229
230
|
this.setSession(token);
|