don't trim white space on email address

This commit is contained in:
keyan 2022-01-14 11:52:36 -06:00
parent ccc1251f7e
commit 5d2bd7f62a
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ import LnQR, { LnQRSkeleton } from '../components/lnqr'
import { gql, useMutation, useQuery } from '@apollo/client'
export const EmailSchema = Yup.object({
email: Yup.string().email('email is no good').required('required').trim()
email: Yup.string().email('email is no good').required('required')
})
export default function Login ({ providers, callbackUrl, error, Header }) {