...
Bloc de code | ||
---|---|---|
| ||
onsubmit="ignore_on_history_back()" |
et dans la page :
Bloc de code | ||
---|---|---|
| ||
function ignore_on_history_back() { // on back, do not autolog nor prompt, go back to the app try { window.history.replaceState({}, null, location.href.replace('/cas/login', '/cas/authentification-en-cours.html')) } catch (e) {} } |
...