fix signup/login
This commit is contained in:
@@ -34,7 +34,7 @@ export default function RegisterPage() {
|
||||
|
||||
if (res) {
|
||||
console.log("Registered successfully:", data);
|
||||
router.push("/login");
|
||||
router.push("/auth/login");
|
||||
} else {
|
||||
setError(data.error || "Registration failed");
|
||||
}
|
||||
@@ -106,7 +106,7 @@ export default function RegisterPage() {
|
||||
<p className="mt-6 text-sm text-center text-gray-600 dark:text-gray-400">
|
||||
Already have an account?{" "}
|
||||
<Link
|
||||
href="/login"
|
||||
href="/auth/login"
|
||||
className="text-blue-600 hover:underline dark:text-blue-400"
|
||||
>
|
||||
Sign in
|
||||
|
||||
Reference in New Issue
Block a user