Unverified Commit fc78a903 authored by Gabriel Antônio da Silva's avatar Gabriel Antônio da Silva Committed by GitHub
Browse files

Merge pull request #63 from lmts-ufape/master-test

fixbug
parents dd7b8a64 23b38064
...@@ -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