From ffd2a95903542ed7d824e10d396ce79b1dcbbb89 Mon Sep 17 00:00:00 2001 From: kyy Date: Fri, 16 Jan 2026 09:56:02 +0900 Subject: [PATCH] =?UTF-8?q?=EC=A0=84=ED=99=94=EB=B2=88=ED=98=B8=20?= =?UTF-8?q?=EA=B8=B0=EB=B3=B8=EA=B0=92=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/lib/features/auth/presentation/login_screen.dart | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/lib/features/auth/presentation/login_screen.dart b/frontend/lib/features/auth/presentation/login_screen.dart index a57dd45b..710e6698 100644 --- a/frontend/lib/features/auth/presentation/login_screen.dart +++ b/frontend/lib/features/auth/presentation/login_screen.dart @@ -120,6 +120,9 @@ class _LoginScreenState extends ConsumerState if (rawPhone.isEmpty) return; String phone = rawPhone.replaceAll(RegExp(r'[-\s]'), ''); + if (phone.startsWith('010')) { + phone = '+82${phone.substring(1)}'; // Convert 010 to +8210 + } debugPrint("[Auth] Initiating SMS Enchanted Link for: $phone"); try { @@ -378,7 +381,7 @@ class _LoginScreenState extends ConsumerState controller: _phoneController, decoration: const InputDecoration( labelText: "Phone Number", - hintText: "+82 10-1234-5678", + hintText: "010-1234-5678", border: OutlineInputBorder(), prefixIcon: Icon(Icons.phone_android), ),