"app/git@sites.upe.br:walter.felipe/submeta.git" did not exist on "23113320e70a3b1f4c6f749393ca54899f6d03cb"
Commit bb51a3fe authored by Gabriel-31415's avatar Gabriel-31415
Browse files

ajuste em emailParaUsuarioNaoCadastrado

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