aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend
diff options
context:
space:
mode:
Diffstat (limited to 'frontend')
-rw-r--r--frontend/app/routes/login.tsx12
1 files changed, 0 insertions, 12 deletions
diff --git a/frontend/app/routes/login.tsx b/frontend/app/routes/login.tsx
index 6d76e84..b1249e0 100644
--- a/frontend/app/routes/login.tsx
+++ b/frontend/app/routes/login.tsx
@@ -35,18 +35,6 @@ export async function action({ request }: ActionFunctionArgs) {
{ status: 400 },
);
}
- if (username.includes("@")) {
- return json(
- {
- message: "ユーザー名が誤っています",
- errors: {
- username: "メールアドレスではなくユーザー名を入力してください",
- password: undefined,
- },
- },
- { status: 400 },
- );
- }
try {
await login(request);