Spaces:
Running
Running
Download app/Mails/ResetPasswordMail.php from lisatthu35/ewa: direct link, hf CLI and curl.
- Browser
- Download file 641 Bytes
-
https://huggingface.co/spaces/lisatthu35/ewa/resolve/main/app/Mails/ResetPasswordMail.php
- Command line
-
hf download hf://spaces/lisatthu35/ewa/app/Mails/ResetPasswordMail.php
-
curl -L -o ResetPasswordMail.php https://huggingface.co/spaces/lisatthu35/ewa/resolve/main/app/Mails/ResetPasswordMail.php
641 Bytes
| namespace App\Mails; | |
| use Illuminate\Bus\Queueable; | |
| use Illuminate\Contracts\Queue\ShouldQueue; | |
| use Illuminate\Mail\Mailable; | |
| use Illuminate\Queue\SerializesModels; | |
| use Carbon\Carbon; | |
| class ResetPasswordMail extends Mailable | |
| { | |
| use Queueable, SerializesModels; | |
| private $newPassword; | |
| private $email; | |
| public function __construct($newPassword,$email) | |
| { | |
| $this->email=$email; | |
| $this->newPassword = $newPassword; | |
| } | |
| public function build() | |
| { | |
| return $this->view('emails.auth.reset-password') | |
| ->with(['newPassword' => $this->newPassword , "email"=> $this->email]); | |
| } | |
| } | |