Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Brunobento1990 committed Feb 17, 2024
1 parent 9f7ed55 commit 6d850bc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions OpenAdm.Application/Services/EsqueceuSenhaService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ public async Task<bool> EsqueceuSenhaAsync(EsqueceuSenhaDto esqueceuSenhaDto)
usuario.UpdateSenha(newSenha);
await _usuarioRepository.UpdateAsync(usuario);
}
else
{
throw new Exception(CodigoErrors.ErrorGeneric);
}

return result;
}
Expand Down

0 comments on commit 6d850bc

Please sign in to comment.