⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.229
Server IP:
95.217.99.93
Server:
Linux sv1.sonichosted.com 4.18.0-553.34.1.lve.el8.x86_64 #1 SMP Thu Jan 9 16:30:32 UTC 2025 x86_64
Server Software:
LiteSpeed
PHP Version:
8.2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
lifestylescentra
/
public_html
/
app
/
Jobs
/
View File Name :
SocialLoginDefaultPasswordJob.php
<?php namespace App\Jobs; use App\Mail\SocialLoginDefaultPasswordMail; use App\Models\User; use App\Traits\GetGlobalInformationTrait; use Exception; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Foundation\Bus\Dispatchable; use Illuminate\Queue\InteractsWithQueue; use Illuminate\Queue\SerializesModels; use Illuminate\Support\Facades\Log; use Illuminate\Support\Facades\Mail; class SocialLoginDefaultPasswordJob implements ShouldQueue { use Dispatchable, GetGlobalInformationTrait, InteractsWithQueue, Queueable, SerializesModels; /** * Create a new job instance. */ public function __construct(private User $user, private string $password) { } /** * Execute the job. */ public function handle(): void { $this->set_mail_config(); try { Mail::to($this->user->email)->send(new SocialLoginDefaultPasswordMail($this->user, $this->password)); } catch (Exception $ex) { if (app()->isLocal()) { Log::error($ex->getMessage()); } } } }