]> _ Git - psq.git/commitdiff
reg_complete on password reste
authorLouis Jeckel <louis.jeckel@outlook.com>
Mon, 19 Oct 2020 17:22:15 +0000 (19:22 +0200)
committerLouis Jeckel <louis.jeckel@outlook.com>
Mon, 19 Oct 2020 17:22:15 +0000 (19:22 +0200)
app/Notifications/JustSubscribed.php
app/Notifications/RegistrationPending.php

index dab8ad4dc6ce48de0fdc14dfac6c045a250afbc1..0bdadd9cab07b9763fd82883cf10f519fac43980 100644 (file)
@@ -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)
index 9c4f0bbe7156740792ec8e230f1579a22e4a8764..6d4451108468fec3259805a9f60a8bd8a5fee461 100644 (file)
@@ -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,')