From 287c9a545621d0ef154a90866a07fdb52d0d1fc8 Mon Sep 17 00:00:00 2001 From: Thibault Richy Date: Tue, 26 Feb 2019 11:38:43 +0100 Subject: [PATCH] reset password --- app/Notifications/ResetPassword.php | 2 +- resources/views/vendor/notifications/email.blade.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/Notifications/ResetPassword.php b/app/Notifications/ResetPassword.php index 6ba8345..ab4919b 100644 --- a/app/Notifications/ResetPassword.php +++ b/app/Notifications/ResetPassword.php @@ -44,7 +44,7 @@ class ResetPassword extends ResetPasswordNotification return (new MailMessage) ->subject('MesBR - Réinitialisation du mot de passe') ->line('Vous recevez cet email car nous avons reçu une requête de réinitialisation de mot de passe pour votre compte.') - ->action('Réinitialiser votre mot de passe', url('password/reset', $this->token)) + ->action('Réinitialiser votre mot de passe', url(config('app.url').route('password.reset', $this->token, false))) ->line('Si vous n\'avez pas fait cette demande, aucune action de votre part est nécessaire.'); } diff --git a/resources/views/vendor/notifications/email.blade.php b/resources/views/vendor/notifications/email.blade.php index 8e4ddba..b0bc2f5 100644 --- a/resources/views/vendor/notifications/email.blade.php +++ b/resources/views/vendor/notifications/email.blade.php @@ -6,7 +6,7 @@ @if ($level == 'error') # @lang('Whoops!') @else -# @lang('Hello!') +# @lang('Bonjour !') @endif @endif @@ -50,8 +50,8 @@ @isset($actionText) @component('mail::subcopy') @lang( - "If you’re having trouble clicking the \":actionText\" button, copy and paste the URL below\n". - 'into your web browser: [:actionURL](:actionURL)', + "Si vous n'arrivez pas à cliquer le bouton \":actionText\", Copiez/Collez le lien suivant dans votre navigateur\n". + ': [:actionURL](:actionURL)', [ 'actionText' => $actionText, 'actionURL' => $actionUrl