Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remover do log erro de Login e Senha #58

Open
caduvieira opened this issue Jun 1, 2023 · 0 comments
Open

Remover do log erro de Login e Senha #58

caduvieira opened this issue Jun 1, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@caduvieira
Copy link
Member

Descreva o erro
Ao errar o login/senha no acesso do WSSEI em https://github.com/supergovbr/mod-wssei/blob/87628546cea47442b89b602608a023fac2d95e9d/src/rn/MdWsSeiUsuarioRN.php#L184 é salvo no log um erro de Login/senha

Erro logado:
SoapFault exception: [SOAP-ENV:Client] Usuário ou Senha Inválida. in /opt/sei/web/modulos/wssei/rn/MdWsSeiUsuarioRN.php:185


Para reproduzir
Passos para reproduzir o comportamento:

  1. Tente acessar qualquer endpoint com login e senha errada.
  2. Veja o erro.

Comportamento esperado
Não seja considerado como "Erro" no log. Seria no máximo uma informação.


Screenshots
N/A


Contexto da falha (Por favor, complete a seguinte informação):

  • Versão do sistema: 2.1.1
  • Navegador: na
  • Perfil do Usuário: basico
  • Banco de Dados: qualquer

Informações adicionais
na


Log de Erros

Stack trace:
#0 /opt/sei/web/modulos/wssei/rn/MdWsSeiUsuarioRN.php(185): SoapClient->__call()
#1 /opt/sei/web/modulos/wssei/rn/MdWsSeiUsuarioRN.php(140): MdWsSeiUsuarioRN->apiAutenticar()
#2 /opt/sei/web/modulos/wssei/controlador_ws.php(21): MdWsSeiUsuarioRN->autenticarToken()
#3 [internal function]: TokenValidationMiddleware->__invoke()
#4 /opt/sei/web/modulos/wssei/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array()
#5 [internal function]: Slim\DeferredCallable->__invoke()
#6 /opt/sei/web/modulos/wssei/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(73): call_user_func()
#7 /opt/sei/web/modulos/wssei/controlador_ws.php(64): Slim\Route->Slim\{closure}()
#8 [internal function]: ModuleVerificationMiddleware->__invoke()
#9 /opt/sei/web/modulos/wssei/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array()
@caduvieira caduvieira added the bug Something isn't working label Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant