@antscorp/antsomi-ui 1.3.5-beta.464 → 1.3.5-beta.465
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.
|
@@ -221,12 +221,14 @@ export const AccountSharing = props => {
|
|
|
221
221
|
});
|
|
222
222
|
// const delay = (ms) => new Promise((resolve) => setTimeout(resolve, ms))
|
|
223
223
|
const onClickButtonLogout = () => {
|
|
224
|
-
removeCookie(`uogs_${networkId}
|
|
224
|
+
removeCookie(`uogs_${networkId}`, {
|
|
225
|
+
secure: true,
|
|
226
|
+
});
|
|
225
227
|
if (callbackLogout)
|
|
226
228
|
callbackLogout();
|
|
227
229
|
setTimeout(() => {
|
|
228
230
|
window.location.href = urlLogout;
|
|
229
|
-
},
|
|
231
|
+
}, 1000);
|
|
230
232
|
};
|
|
231
233
|
function urlDomain(data) {
|
|
232
234
|
const a = document.createElement('a');
|