fix: otp count 4 fixed
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user