Skip to content

Commit

Permalink
refactor: rename
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohammad-Alavi committed Dec 11, 2021
1 parent e43a917 commit acc4bc6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace App\Containers\AppSection\Authentication\Actions;

use App\Containers\AppSection\Authentication\Mails\UserForgotPasswordMail;
use App\Containers\AppSection\Authentication\Mails\ForgotPassword;
use App\Containers\AppSection\Authentication\Tasks\CreatePasswordResetTokenTask;
use App\Containers\AppSection\Authentication\UI\API\Requests\ForgotPasswordRequest;
use App\Containers\AppSection\User\Tasks\FindUserByEmailTask;
Expand Down Expand Up @@ -30,7 +30,7 @@ public function run(ForgotPasswordRequest $request): bool

$token = app(CreatePasswordResetTokenTask::class)->run($user);

Mail::send(new UserForgotPasswordMail($user, $token, $sanitizedData['reseturl']));
Mail::send(new ForgotPassword($user, $token, $sanitizedData['reseturl']));

return true;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;

class UserForgotPasswordMail extends Mail implements ShouldQueue
class ForgotPassword extends Mail implements ShouldQueue
{
use Queueable;

Expand Down

0 comments on commit acc4bc6

Please sign in to comment.