Skip to content

Commit

Permalink
Remove console.log statement and fix typo in login.astro
Browse files Browse the repository at this point in the history
  • Loading branch information
Arejula11 committed Apr 4, 2024
1 parent e713060 commit 3f737df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playbeat/src/pages/login.astro
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ if (Astro.request.method ==="POST" ) {
if (!hasErrors) {
const response = await loginUser({email: values.email, contrasegna: values.contrasegna});
if (response && response.status === 200) {
console.log("response", response);
Astro.cookies.set("token", response.data);
return Astro.redirect("/");
} else {
Expand Down

0 comments on commit 3f737df

Please sign in to comment.