fix: otp count 4 fixed

This commit is contained in:
2025-09-08 17:26:25 +03:30
parent 2e9a278a53
commit 03d44e027f
+1 -1
View File
@@ -94,7 +94,7 @@ public function register(Request $request)
// Send email verification if email exists // Send email verification if email exists
if (isset($data['email'])) { if (isset($data['email'])) {
$code = rand(100000, 999999); $code = rand(1000, 9999);
\DB::table('email_verifications')->insert([ \DB::table('email_verifications')->insert([
'user_id' => $user->id, 'user_id' => $user->id,
'code' => $code, 'code' => $code,