samedi 25 janvier 2020

Larave; password reset email style

I'm having 2 issues with the password reset email

enter image description here

As you see there's a grey top row containing 1 and another row at the bottom I don't know where they come from. The second issue is styling the reset button. How can I control that? I can find the content only in this path: src/Illuminate/Auth/Notifications/ResetPassword.php

return (new MailMessage)
        ->subject(Lang::getFromJson('Reset Password Notification'))
        ->line(Lang::getFromJson('You are receiving this email because we received a password reset request for your account.'))
        ->action(Lang::getFromJson('Reset Password'), url(config('app.url').route('password.reset', $this->token, false)))
        ->line(Lang::getFromJson('This password reset link will expire in :count minutes.', ['count' => config('auth.passwords.users.expire')]))
        ->line(Lang::getFromJson('If you did not request a password reset, no further action is required.'));


via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire