fix: emails fixed

This commit is contained in:
2026-02-18 07:40:10 +00:00
parent e98c0502db
commit 06cdf30f0a
17 changed files with 42 additions and 8 deletions
+1 -1
View File
@@ -232,7 +232,7 @@ public function register(Request $request)
$token = Str::random(64);
// ✅ Check if email can receive a message before creating the user
if (isset($data['email'])) {
// $code = rand(1000, 9999);
$code = rand(1000, 9999);
try {
if ($method === 'code') {
\Mail::to($data['email'])->send(new \App\Mail\VerifyEmailCodeMail($code));