Commit 23b38064 authored by Gabriel-31415's avatar Gabriel-31415
Browse files

fixbug

parent 4f8fd81a
...@@ -681,7 +681,7 @@ class TrabalhoController extends Controller ...@@ -681,7 +681,7 @@ class TrabalhoController extends Controller
if($userParticipante == null){ if($userParticipante == null){
$passwordTemporario = Str::random(8); $passwordTemporario = Str::random(8);
$subject = "Participante de Projeto"; $subject = "Participante de Projeto";
Mail::to($value)->send(new EmailParaUsuarioNaoCadastrado(Auth()->user()->name, ' ', 'Participante', $evento->nome, $passwordTemporario, $sube)); Mail::to($value)->send(new EmailParaUsuarioNaoCadastrado(Auth()->user()->name, ' ', 'Participante', $evento->nome, $passwordTemporario, $subject));
$usuario = User::create([ $usuario = User::create([
'email' => $value, 'email' => $value,
'password' => bcrypt($passwordTemporario), 'password' => bcrypt($passwordTemporario),
......
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