diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-08-17 18:59:55 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-08-17 18:59:55 +0900 |
| commit | f926ef682de637b717d3b0cc0eaee43c59e83c95 (patch) | |
| tree | a6cc6852ecdfe5643d336b77e9956fe6383d53ef /frontend | |
| parent | 29721ab9971c401d5fb5d2a2cfd730b156a8e195 (diff) | |
| download | iosdc-japan-2024-albatross-f926ef682de637b717d3b0cc0eaee43c59e83c95.tar.gz iosdc-japan-2024-albatross-f926ef682de637b717d3b0cc0eaee43c59e83c95.tar.zst iosdc-japan-2024-albatross-f926ef682de637b717d3b0cc0eaee43c59e83c95.zip | |
feat(backend): allow login/signup with email address
Diffstat (limited to 'frontend')
| -rw-r--r-- | frontend/app/routes/login.tsx | 12 |
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); |
