Skip to content

Commit

Permalink
Update Signin.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
AyushSharma72 authored Nov 9, 2024
1 parent 9ceac1d commit 2b7df9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hiring-portal/src/Components/Signin.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const SignIn = () => {
const data = await response.json();
if (response.ok) {
localStorage.setItem("userEmail", data.email);
// localStorage.setItem("token", data.token);
localStorage.setItem("token", data.token);
toast.success("Sign in successful!");
navigate(
email === "[email protected]" && password === "admin" ? "/admin" : "/"
Expand Down

0 comments on commit 2b7df9d

Please sign in to comment.