fix: authentifyView do not use pushstate

This commit is contained in:
starnakin 2024-02-13 11:00:10 +01:00 committed by AdrienLSH
parent 08833f9c93
commit cf9bd41dd0

View File

@ -95,8 +95,6 @@ export default class extends AbstractNonAuthentifiedView
let button_text = this.current_mode === "login" ? "loginFormButton" : "registerFormButton"; let button_text = this.current_mode === "login" ? "loginFormButton" : "registerFormButton";
button.innerText = lang.get(button_text, "ERROR LANG"); button.innerText = lang.get(button_text, "ERROR LANG");
history.pushState(null, null, `/${this.current_mode}`);
} }
/** /**