Skip to content

Scheduling infrastructure for absolutely everyone.

fix: add login link on forgot password page

mihaic19539df7d61bca2
diff --git a/pages/auth/forgot-password/index.tsx b/pages/auth/forgot-password/index.tsx
index 5760de01a99..f3313900b71 100644
--- a/pages/auth/forgot-password/index.tsx
+++ b/pages/auth/forgot-password/index.tsx
@@ -1,4 +1,5 @@
import Head from "next/head";
+import Link from "next/link";
import React from "react";
import { getCsrfToken } from "next-auth/client";
import debounce from "lodash.debounce";
@@ -137,6 +138,15 @@ export default function Page({ csrfToken }) {
Request Password Reset
</button>
</div>
+ <div className="space-y-2">
+ <Link href="/auth/login">
+ <button
+ type="button"
+ className="w-full flex justify-center py-2 px-4 text-sm font-medium text-blue-600 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
+ Login
+ </button>
+ </Link>
+ </div>
</form>
</>
)}