codevdesign 1.0.2 → 1.0.3
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.
|
@@ -111,7 +111,8 @@ class RafraichisseurToken {
|
|
|
111
111
|
// Pour éviter les cross référence, on créé un iframe qui appel portail et force la MAJ du jeton ou l'invalidation du jeton, si jamais l'utilisateur n'est plus connecté
|
|
112
112
|
// ajax vers le refresh
|
|
113
113
|
let iframe = document.createElement('iframe')
|
|
114
|
-
|
|
114
|
+
const url = this.getRefreshUrl()
|
|
115
|
+
iframe.src = `${url}?urlRetour=${encodeURI(window.localStorage.href)}`
|
|
115
116
|
iframe.id = 'idRafrToken'
|
|
116
117
|
iframe.style.display = 'none'
|
|
117
118
|
document.body.appendChild(iframe)
|