Merge pull request #252 from emrysal/bugfix/small-login-fix

This commit is contained in:
Bailey Pumfleet 2021-06-10 07:53:12 +01:00 committed by GitHub
commit 40def5c8e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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