UnknownSec Bypass
403
:
/
mnt
/
lmsestudio-instance-vol002
/
lms_0fbd48a558b0
/
app
/
Handlers
/
Events
/ [
drwxr-xr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
SendPasswordReset.php
<?php namespace EstudioLMS\Handlers\Events; use EstudioLMS\Events\PwdResetMail; use EstudioLMS\Helpers\ConfigurationsHelper; use EstudioLMS\Models\Auth\User; use Illuminate\Contracts\Mail\Mailer; /** * Class SendPasswordReset * @package EstudioLMS\Handlers\Events */ class SendPasswordReset { private $mail; /** * @var ConfigurationsHelper */ private $configurationsHelper; /** * @param Mailer $mail * @param ConfigurationsHelper $configurationsHelper */ public function __construct( Mailer $mail, ConfigurationsHelper $configurationsHelper ) { $this->mail = $mail; $this->configurationsHelper = $configurationsHelper; } /** * @param PwdResetMail $event * @return array */ public function handle(PwdResetMail $event) { $this->configurationsHelper->overridesMailConfiguration(); $pwdInfo = $event->grabUserData(); $data = User::whereEmail($pwdInfo['email'])->first(); $this->mail ->send('emails.reset_password', ['data' => $data, 'pwd' => $pwdInfo], function ($msg) use ($pwdInfo) { $msg->subject('Pedido de redefinição de senha - EstudioLMS'); $msg->to($pwdInfo['email']); $msg->from(config('mail.from.address'), config('mail.from.name')); }); return $this->mail->failures(); } }
Copyright © 2026 - UnknownSec