feat: method default link
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user