From da0b8e4edb13cbee3c268bc2651ca098cdc7aa4d Mon Sep 17 00:00:00 2001 From: starnakin Date: Tue, 13 Feb 2024 11:00:10 +0100 Subject: [PATCH] fix: authentifyView do not use pushstate --- frontend/static/js/views/accounts/AuthentifyView.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/frontend/static/js/views/accounts/AuthentifyView.js b/frontend/static/js/views/accounts/AuthentifyView.js index 0c675c3..5dfd569 100644 --- a/frontend/static/js/views/accounts/AuthentifyView.js +++ b/frontend/static/js/views/accounts/AuthentifyView.js @@ -95,8 +95,6 @@ export default class extends AbstractNonAuthentifiedView let button_text = this.current_mode === "login" ? "loginFormButton" : "registerFormButton"; button.innerText = lang.get(button_text, "ERROR LANG"); - - history.pushState(null, null, `/${this.current_mode}`); } /**