From 28956dc8e90f6af41fc3929bbf2b9217296bbf11 Mon Sep 17 00:00:00 2001 From: Louis Jeckel Date: Mon, 19 Oct 2020 19:22:15 +0200 Subject: [PATCH] reg_complete on password reste --- app/Notifications/JustSubscribed.php | 2 +- app/Notifications/RegistrationPending.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Notifications/JustSubscribed.php b/app/Notifications/JustSubscribed.php index dab8ad4..0bdadd9 100644 --- a/app/Notifications/JustSubscribed.php +++ b/app/Notifications/JustSubscribed.php @@ -49,7 +49,7 @@ class JustSubscribed extends Notification if($notifiable->reg_complete) { $message->line("Votre compte est déjà activé, vous n'avez rien de plus à faire."); } else { - $link = $notifiable->routeWithToken('account.index', [], now()->addDays(7)); + $link = $notifiable->routeWithToken('account.complete-reg', [], now()->addDays(7)); $message ->line("Cliquez sur le bouton ci-dessous pour créer un mot de passe et activer votre compte pour ne rater aucun numéro de notre quotidien !") ->action('Créer mon mot de passe', $link) diff --git a/app/Notifications/RegistrationPending.php b/app/Notifications/RegistrationPending.php index 9c4f0bb..6d44511 100644 --- a/app/Notifications/RegistrationPending.php +++ b/app/Notifications/RegistrationPending.php @@ -42,7 +42,7 @@ class RegistrationPending extends Notification implements ShouldQueue public function toMail($notifiable) { - $link = $notifiable->routeWithToken('account.index', [], now()->addDays(14)); + $link = $notifiable->routeWithToken('account.complete-reg', [], now()->addDays(14)); return (new MailMessage) ->subject('[Relance] PRESCRIPTION SANTÉ QUOTIDIEN : Activation en attente') ->greeting('Cher lecteur,') -- 2.39.5