diff --git a/VERSION b/VERSION index 84197c894..e0a61e6a8 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -5.3.2 +5.3.4 diff --git a/public/CHANGELOG.md b/public/CHANGELOG.md index f48ee6ba4..15e7beb87 100644 --- a/public/CHANGELOG.md +++ b/public/CHANGELOG.md @@ -1,7 +1,12 @@ -## Version 5.3.2 +## Version 5.3.4 - Fix a bug that prevents users from editing a credential after a search. + +## Version 5.3.3 - Fix wrong translation in navbar +## Version 5.3.2 +- Prevent browser to redirect to cryptopus.puzzle.comnull after autologout + ## Version 5.3.1 - Fix a bug that prevents users from deleting other users. diff --git a/public/javascript/wake_up.js b/public/javascript/wake_up.js index 1a3f1f7f8..9f6b6d6b9 100644 --- a/public/javascript/wake_up.js +++ b/public/javascript/wake_up.js @@ -10,7 +10,10 @@ document.addEventListener("DOMContentLoaded", () => { function redirect() { const path = sessionStorage.getItem("previousPath") sessionStorage.removeItem("previousPath") - const href= window.location.origin + path; - window.location.replace(href); + if (path) { + window.location.replace(window.location.origin + path); + }else{ + window.location.replace(window.location.origin); + } }