diff --git a/app/Http/Controllers/AppRegisterController.php b/app/Http/Controllers/AppRegisterController.php index 824cec540..519b632d5 100644 --- a/app/Http/Controllers/AppRegisterController.php +++ b/app/Http/Controllers/AppRegisterController.php @@ -111,7 +111,7 @@ class AppRegisterController extends Controller $exists = AppRegister::whereEmail($email) ->whereVerifyCode($code) - ->where('created_at', '>', now()->subMinutes(60)) + ->where('created_at', '>', now()->subHours(4)) ->exists(); return response()->json([ @@ -219,7 +219,7 @@ class AppRegisterController extends Controller $exists = AppRegister::whereEmail($email) ->whereVerifyCode($code) - ->where('created_at', '>', now()->subMinutes(60)) + ->where('created_at', '>', now()->subHours(4)) ->exists(); if (! $exists) { diff --git a/resources/views/auth/iar-resend.blade.php b/resources/views/auth/iar-resend.blade.php index ea1ead33a..b486941d0 100644 --- a/resources/views/auth/iar-resend.blade.php +++ b/resources/views/auth/iar-resend.blade.php @@ -23,6 +23,7 @@ id="email" name="email" required + placeholder="Enter your email address here" autocomplete="email" @if(request()->filled('email')) value="{{rawurldecode(request()->input('email'))}}" diff --git a/resources/views/emails/iar/email_verify.blade.php b/resources/views/emails/iar/email_verify.blade.php index 1f1a784ec..9615e8a70 100644 --- a/resources/views/emails/iar/email_verify.blade.php +++ b/resources/views/emails/iar/email_verify.blade.php @@ -20,7 +20,7 @@

-This code will expire in 60 minutes. If you didn't request this verification, please ignore this email. +This code will expire in 4 hours. If you didn't request this verification, please ignore this email.