Skip to content

Commit

Permalink
feat(login route): react routing -> network call
Browse files Browse the repository at this point in the history
  • Loading branch information
proffapt committed Jul 2, 2024
1 parent 5c23d2c commit 273b9a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/components/ActionBar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ const ProfileIcon = () => {
</IconButton>
)}
{!session.exists() && config.enable_login && (
<Button color="inherit" variant="text" onClick={() => navigate(routes.login)} sx={{ m: 1 }} aria-label={t("action_bar_sign_in")}>
<Button color="inherit" variant="text" onClick={() => window.location.assign("https://naarad.metakgp.org/login")} sx={{ m: 1 }} aria-label={t("action_bar_sign_in")}>
{t("action_bar_sign_in")}
</Button>
)}
Expand Down

0 comments on commit 273b9a2

Please sign in to comment.