Minor improvement.

This commit is contained in:
Daniel
2023-02-09 04:02:20 +03:30
parent 18387e2dde
commit eadf021939
3 changed files with 15 additions and 7 deletions
-3
View File
@@ -19,7 +19,6 @@ export default function Login() {
const res = await signIn("credentials", {
email: form.email,
password: form.password,
redirect: false,
});
if (res?.ok) {
@@ -27,8 +26,6 @@ export default function Login() {
email: "",
password: "",
});
// router.push("/");
} else {
console.log("User not found or password does not match.", res);
}