From: Louis Jeckel Date: Mon, 19 Oct 2020 17:22:15 +0000 (+0200) Subject: reg_complete on password reste X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=28956dc8e90f6af41fc3929bbf2b9217296bbf11;p=psq.git reg_complete on password reste --- 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,')