Unverified Commit 6abfd0f3 authored by carlos1270's avatar carlos1270 Committed by GitHub
Browse files

Merge pull request #117 from carlos1270/master

Erro no email do cadastro
parents 3b30c761 ebda3a3a
......@@ -138,7 +138,6 @@ class RegisterController extends Controller
$user->proponentes()->save($proponente);
}
return $user;
}
......
......@@ -45,10 +45,9 @@ class VerifyNotification extends Notification
*/
public function toMail($notifiable)
{
$user = Auth::user();
return (new MailMessage)
->subject('Verifique seu e-mail')
->greeting("Olá, {$user->name}!")
->greeting("Olá, {$notifiable->name}!")
->action(
'Verifique seu E-mail',
$this->verificationUrl($notifiable)
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment