Merge pull request #323 from mihaic195/fix/add-login-link-on-forgot-password-page

pull/324/head
Bailey Pumfleet 2021-06-29 09:50:56 +01:00 committed by GitHub
commit 113185e089
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

View File

@ -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>
</>
)}