From 0a74c64bb7db57c219bd487c442b3679292802f7 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Mon, 18 Jul 2022 21:52:27 -0500 Subject: [PATCH] Actually, remove pattern from login inputs (it can be an email too) --- app/soapbox/features/auth_login/components/login_form.tsx | 1 - app/soapbox/features/public_layout/components/header.tsx | 1 - 2 files changed, 2 deletions(-) diff --git a/app/soapbox/features/auth_login/components/login_form.tsx b/app/soapbox/features/auth_login/components/login_form.tsx index 948a6bc31a..64145453c7 100644 --- a/app/soapbox/features/auth_login/components/login_form.tsx +++ b/app/soapbox/features/auth_login/components/login_form.tsx @@ -40,7 +40,6 @@ const LoginForm: React.FC = ({ isLoading, handleSubmit }) => { autoComplete='off' autoCorrect='off' autoCapitalize='off' - pattern='^[@a-zA-Z\d_-]+$' required /> diff --git a/app/soapbox/features/public_layout/components/header.tsx b/app/soapbox/features/public_layout/components/header.tsx index 6ba216ee69..ed52d3ddf8 100644 --- a/app/soapbox/features/public_layout/components/header.tsx +++ b/app/soapbox/features/public_layout/components/header.tsx @@ -135,7 +135,6 @@ const Header = () => { autoComplete='off' autoCorrect='off' autoCapitalize='off' - pattern='^[@a-zA-Z\d_-]+$' />