Bugfix/list clickup issue (#5)
Reviewed-on: #5 Co-authored-by: ISMAIL MASSERAN <ismail@koppkb.com> Co-committed-by: ISMAIL MASSERAN <ismail@koppkb.com>
This commit was merged in pull request #5.
This commit is contained in:
@@ -3,9 +3,8 @@
|
||||
namespace App\Notifications;
|
||||
|
||||
use Illuminate\Bus\Queueable;
|
||||
use Illuminate\Notifications\Notification;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Notifications\Messages\MailMessage;
|
||||
use Illuminate\Notifications\Notification;
|
||||
use Illuminate\Support\Facades\Lang;
|
||||
|
||||
class PasswordResetNotification extends Notification
|
||||
@@ -43,13 +42,14 @@ class PasswordResetNotification extends Notification
|
||||
*/
|
||||
public function toMail($notifiable)
|
||||
{
|
||||
$urlToResetForm = "http://localhost:8000/api/password/reset?token=". $this->token;
|
||||
$urlToResetForm = 'http://localhost:8000/api/password/reset?token='.$this->token;
|
||||
|
||||
return (new MailMessage)
|
||||
->subject(Lang::get('Hey! Reset Password Notification'))
|
||||
->line(Lang::get('You requested here you go!'))
|
||||
->action(Lang::get('Reset Password'), $urlToResetForm)
|
||||
->line(Lang::get('This password reset link will expire in :count minutes.', ['count' => config('auth.passwords.users.expire')]))
|
||||
->line(Lang::get('If you did not request a password reset, no further action is required. Token: ==>'. $this->token));
|
||||
->line(Lang::get('If you did not request a password reset, no further action is required. Token: ==>'.$this->token));
|
||||
|
||||
}
|
||||
|
||||
@@ -65,4 +65,4 @@ class PasswordResetNotification extends Notification
|
||||
//
|
||||
];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user