Skip to content

Commit

Permalink
[fix] UI: Prevent automatic re-login when the ‘Log In’ view is opened…
Browse files Browse the repository at this point in the history
… (upon logout)
  • Loading branch information
stenya committed Feb 7, 2024
1 parent 38c8e12 commit facdb23
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui/src/components/Component-Login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,8 @@ export default {
if (this.$refs.accountid) this.$refs.accountid.focus();
let stateParams = history.state.params;
let stateParams = history.state.params;
history.replaceState({}, ""); // clear state params to avoid re-login on page refresh
if (stateParams && stateParams.forceLoginAccount != null) {
this.accountID = stateParams.forceLoginAccount;
Expand Down

0 comments on commit facdb23

Please sign in to comment.