Skip to content

Commit

Permalink
Update Login.tsx (rebase was wrong)
Browse files Browse the repository at this point in the history
  • Loading branch information
GordonSmith authored Nov 30, 2023
1 parent e3b0f7b commit 804a080
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions esp/src/src-react/components/forms/Login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export const Login: React.FunctionComponent<LoginProps> = ({
setErrorMessage("");
const lastUrl = window.localStorage.getItem("pageOnLock") ?? "/";
window.localStorage.removeItem("pageOnLock");
replaceUrl(lastUrl, true);
replaceUrl(lastUrl, null, true);
}).catch(err => logger.error("Unable to create user session."));
}
}
Expand Down Expand Up @@ -188,4 +188,4 @@ export const Login: React.FunctionComponent<LoginProps> = ({
</div>
</div>;

};
};

0 comments on commit 804a080

Please sign in to comment.