Skip to content

Commit

Permalink
Update Login.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Naetffy authored May 11, 2024
1 parent 49704c5 commit 71776f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/Login/Login.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ function SignInSide() {
}
const response = await apiClient.post(`/login?isStatic=true`, body);
if (response.status === 200) {
sessionStorage.setItem("login", true);
console.log(response.headers);
window.location.href = '/';
} else {
Expand Down

0 comments on commit 71776f9

Please sign in to comment.