diff --git a/app/Http/Controllers/UserController.php b/app/Http/Controllers/UserController.php index f44115f..212232f 100644 --- a/app/Http/Controllers/UserController.php +++ b/app/Http/Controllers/UserController.php @@ -147,7 +147,7 @@ public function resendEmailVerification(Request $request) 'package_name' => 'string|required', ]); - $method = $data['method'] ?? 'code'; + $method = $data['method'] ?? 'link'; $packageNameValue = $data['package_name']; unset($data['package_name']); @@ -209,7 +209,7 @@ public function register(Request $request) 'method' => 'string|in:code,link|nullable' ]); - $method = $data['method'] ?? 'code'; + $method = $data['method'] ?? 'link'; unset($data['method']); // Extract and remove package_name