Fix login spacing issue

pull/6/head
Bailey Pumfleet 2021-04-11 22:02:10 +01:00
parent bc655fd301
commit 952bdea723
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ export default function Login({ csrfToken }) {
<div className="mt-8 sm:mx-auto sm:w-full sm:max-w-md">
<div className="bg-white py-8 px-4 shadow sm:rounded-lg sm:px-10">
<form className="space-y-6" method="post" action="/api/auth/callback/credentials">
<input name='csrfToken' type='hidden' defaultValue={csrfToken}/>
<input name='csrfToken' type='hidden' defaultValue={csrfToken} hidden/>
<div>
<label htmlFor="email" className="block text-sm font-medium text-gray-700">
Email address